[Asterisk-cvs] asterisk/channels chan_skinny.c,1.88,1.89

russell at lists.digium.com russell at lists.digium.com
Sat Jul 30 15:06:20 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv17906/channels

Modified Files:
	chan_skinny.c 
Log Message:
fix netbsd compilation issue


Index: chan_skinny.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_skinny.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- chan_skinny.c	13 Jul 2005 19:21:04 -0000	1.88
+++ chan_skinny.c	30 Jul 2005 19:12:30 -0000	1.89
@@ -87,7 +87,7 @@
 #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))




More information about the svn-commits mailing list