]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
(closes issue #10268)
authorJoshua Colp <jcolp@digium.com>
Mon, 23 Jul 2007 13:23:09 +0000 (13:23 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 23 Jul 2007 13:23:09 +0000 (13:23 +0000)
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/branches/1.4@76519 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_skinny.c

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