From d1220d1818ba4cc13441336e5548aec9a0c6c204 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Thu, 30 Sep 2021 17:13:21 +0300 Subject: [PATCH] [libsrtp] Fix build on MAC OS --- libs/srtp/crypto/include/datatypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/srtp/crypto/include/datatypes.h b/libs/srtp/crypto/include/datatypes.h index 5164cf0021..55bcd73855 100644 --- a/libs/srtp/crypto/include/datatypes.h +++ b/libs/srtp/crypto/include/datatypes.h @@ -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) {