Fix Endian for FreeBSD (bug #2679)
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/v1-0@153 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
-- Fix Endian to compile for FreeBSD
|
||||
|
||||
...
|
||||
libpri 0.3.0
|
||||
-- Fix talking to switch
|
||||
-- Add pri dump
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user