[Asterisk-cvs] asterisk/channels chan_skinny.c,1.76,1.77

kpfleming at lists.digium.com kpfleming at lists.digium.com
Sun Jun 5 11:38:14 CDT 2005


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

Modified Files:
	chan_skinny.c 
Log Message:
fix compilation on Darwin (bug #4462, ugh, we need all this stuff moved into endian.h)


Index: chan_skinny.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_skinny.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- chan_skinny.c	2 Jun 2005 09:11:46 -0000	1.76
+++ chan_skinny.c	5 Jun 2005 15:40:49 -0000	1.77
@@ -82,7 +82,7 @@
 #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))




More information about the svn-commits mailing list