Merge pull request #1361 from signalwire/srtpmac

[libsrtp] Fix build on MAC OS
This commit is contained in:
Andrey Volk 2021-09-30 17:47:36 +03:00 committed by GitHub
commit 601960eb44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ void octet_string_set_to_zero(void *s, size_t len);
#define be64_to_cpu(x) bswap_64((x))
#else /* WORDS_BIGENDIAN */
#if defined(__GNUC__) && (defined(HAVE_X86) || defined(__x86_64__))
#if defined(__GNUC__) && defined(HAVE_X86)
/* Fall back. */
static inline uint32_t be32_to_cpu(uint32_t v)
{