fix netbsd compilation issue
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6246 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
58b2bb1ecc
commit
b32a4a5861
|
@ -87,7 +87,7 @@ typedef unsigned int UINT32;
|
|||
#define htolel(x) (x)
|
||||
#define htoles(x) (x)
|
||||
#else
|
||||
#if defined(SOLARIS) || defined(__Darwin__)
|
||||
#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__)
|
||||
#define __bswap_16(x) \
|
||||
((((x) & 0xff00) >> 8) | \
|
||||
(((x) & 0x00ff) << 8))
|
||||
|
|
Reference in New Issue