[Asterisk-cvs] libpri pri_q921.h,1.10,1.11

markster at lists.digium.com markster at lists.digium.com
Wed Oct 27 16:14:00 CDT 2004


Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv10016

Modified Files:
	pri_q921.h 
Log Message:
Fix endian for FreeBSD (bug #2679)


Index: pri_q921.h
===================================================================
RCS file: /usr/cvsroot/libpri/pri_q921.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- pri_q921.h	2 Oct 2004 14:55:20 -0000	1.10
+++ pri_q921.h	27 Oct 2004 20:17:17 -0000	1.11
@@ -30,6 +30,9 @@
 #include <endian.h>
 #elif defined(__FreeBSD__)
 #include <sys/endian.h>
+#define __BYTE_ORDER _BYTE_ORDER
+#define __BIG_ENDIAN _BIG_ENDIAN
+#define __LITTLE_ENDIAN _LITTLE_ENDIAN
 #endif
 
 /* Timer values */




More information about the svn-commits mailing list