diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-05 15:40:49 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-05 15:40:49 +0000 |
commit | befb1786e7743c4440c6afb225cad7a66a94a78c (patch) | |
tree | a691c30e298464e60139446a1b6ab04ac9587912 /channels/chan_skinny.c | |
parent | 62d73d678be0a9ab297c8e8bf9f5fc7eea77e0a1 (diff) |
fix compilation on Darwin (bug #4462, ugh, we need all this stuff moved into endian.h)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5847 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_skinny.c')
-rwxr-xr-x | channels/chan_skinny.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index f39df49ec..2b058dd46 100755 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -82,7 +82,7 @@ typedef unsigned int UINT32; #define htolel(x) (x) #define htoles(x) (x) #else -#ifdef SOLARIS +#if defined(SOLARIS) || defined(__Darwin__) #define __bswap_16(x) \ ((((x) & 0xff00) >> 8) | \ (((x) & 0x00ff) << 8)) |