diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index f39df49ec6..2b058dd464 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))