Merged revisions 76519 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r76519 | file | 2007-07-23 10:23:09 -0300 (Mon, 23 Jul 2007) | 6 lines

(closes issue #10268)
Reported by: mvanbaak
Patches:
      chan_skinny_openbsd.diff uploaded by mvanbaak (license 7)
Add another OS that has to use the Macros for byte ordering.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Joshua Colp 18 years ago
parent 3c10aab644
commit 4dc6b6d50a

@ -110,7 +110,7 @@ static char version_id[16] = "P002F202";
#define htolel(x) (x) #define htolel(x) (x)
#define htoles(x) (x) #define htoles(x) (x)
#else #else
#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) #if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__OpenBSD__)
#define __bswap_16(x) \ #define __bswap_16(x) \
((((x) & 0xff00) >> 8) | \ ((((x) & 0xff00) >> 8) | \
(((x) & 0x00ff) << 8)) (((x) & 0x00ff) << 8))

Loading…
Cancel
Save