dect
/
asterisk
Archived
13
0
Fork 0

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:
russell 2005-07-30 19:12:30 +00:00
parent 58b2bb1ecc
commit b32a4a5861
1 changed files with 1 additions and 1 deletions

View File

@ -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))