aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_skinny.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_skinny.c')
-rwxr-xr-xchannels/chan_skinny.c2
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))