[libsrtp] Fix build on MAC OS

This commit is contained in:
Andrey Volk 2021-09-30 17:13:21 +03:00
parent bb7bf86bb9
commit d1220d1818
1 changed files with 1 additions and 1 deletions

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)) #define be64_to_cpu(x) bswap_64((x))
#else /* WORDS_BIGENDIAN */ #else /* WORDS_BIGENDIAN */
#if defined(__GNUC__) && (defined(HAVE_X86) || defined(__x86_64__)) #if defined(__GNUC__) && defined(HAVE_X86)
/* Fall back. */ /* Fall back. */
static inline uint32_t be32_to_cpu(uint32_t v) static inline uint32_t be32_to_cpu(uint32_t v)
{ {