From: Andrey Volk Date: Thu, 30 Sep 2021 14:13:21 +0000 (+0300) Subject: [libsrtp] Fix build on MAC OS X-Git-Tag: v1.10.7^2~281^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1361%2Fhead;p=thirdparty%2Ffreeswitch.git [libsrtp] Fix build on MAC OS --- 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) {