[Asterisk-cvs] libpri ChangeLog,1.4,1.4.2.1 pri_q921.h,1.9,1.9.2.1
russell at lists.digium.com
russell at lists.digium.com
Fri Oct 29 10:09:38 CDT 2004
Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv22218
Modified Files:
Tag: v1-0
ChangeLog pri_q921.h
Log Message:
Fix Endian for FreeBSD (bug #2679)
Index: ChangeLog
===================================================================
RCS file: /usr/cvsroot/libpri/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- ChangeLog 22 Mar 2002 17:17:47 -0000 1.4
+++ ChangeLog 29 Oct 2004 14:12:45 -0000 1.4.2.1
@@ -1,3 +1,6 @@
+-- Fix Endian to compile for FreeBSD
+
+...
libpri 0.3.0
-- Fix talking to switch
-- Add pri dump
Index: pri_q921.h
===================================================================
RCS file: /usr/cvsroot/libpri/pri_q921.h,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -d -r1.9 -r1.9.2.1
--- pri_q921.h 5 Jun 2004 06:50:55 -0000 1.9
+++ pri_q921.h 29 Oct 2004 14:12:45 -0000 1.9.2.1
@@ -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