fix netbsd compilation issue

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Russell Bryant 20 years ago
parent 654ff10f8e
commit a5f0c99bb3

@ -87,7 +87,7 @@ typedef unsigned int UINT32;
#define htolel(x) (x) #define htolel(x) (x)
#define htoles(x) (x) #define htoles(x) (x)
#else #else
#if defined(SOLARIS) || defined(__Darwin__) #if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__)
#define __bswap_16(x) \ #define __bswap_16(x) \
((((x) & 0xff00) >> 8) | \ ((((x) & 0xff00) >> 8) | \
(((x) & 0x00ff) << 8)) (((x) & 0x00ff) << 8))

Loading…
Cancel
Save