projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
654ff10
)
fix netbsd compilation issue
author
Russell Bryant
<russell@russellbryant.com>
Sat, 30 Jul 2005 19:12:30 +0000
(19:12 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Sat, 30 Jul 2005 19:12:30 +0000
(19:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6246
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_skinny.c
patch
|
blob
|
history
diff --git
a/channels/chan_skinny.c
b/channels/chan_skinny.c
index
6313251
..
053a7e0
100755
(executable)
--- a/
channels/chan_skinny.c
+++ b/
channels/chan_skinny.c
@@
-87,7
+87,7
@@
typedef unsigned int UINT32;
#define htolel(x) (x)
#define htoles(x) (x)
#else
-#if defined(SOLARIS) || defined(__Darwin__)
+#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__)
#define __bswap_16(x) \
((((x) & 0xff00) >> 8) | \
(((x) & 0x00ff) << 8))