From: Michael Jerris Date: Fri, 21 Feb 2014 20:20:08 +0000 (-0500) Subject: fix openbsd build issue X-Git-Tag: v1.5.8~25^2~92^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbb96f936f8158ed33f1611d28b96d3e7ec21129;p=thirdparty%2Ffreeswitch.git fix openbsd build issue --- diff --git a/libs/srtp/crypto/include/datatypes.h b/libs/srtp/crypto/include/datatypes.h index 12e9ce99b6..cd137490ea 100644 --- a/libs/srtp/crypto/include/datatypes.h +++ b/libs/srtp/crypto/include/datatypes.h @@ -393,7 +393,7 @@ octet_string_set_to_zero(uint8_t *s, int len); # define be64_to_cpu(x) bswap_64((x)) #else -#if defined(__GNUC__) && defined(HAVE_X86) && !defined(__FreeBSD__) +#if defined(__GNUC__) && defined(HAVE_X86) && !defined(__FreeBSD__) && !defined(__OpenBSD__) /* Fall back. */ static inline uint32_t be32_to_cpu(uint32_t v) { /* optimized for x86. */