Fix endian for FreeBSD (bug #2679)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@149 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
542a5ffe0c
commit
6bfef709dc
@ -30,6 +30,9 @@
|
|||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#elif defined(__FreeBSD__)
|
#elif defined(__FreeBSD__)
|
||||||
#include <sys/endian.h>
|
#include <sys/endian.h>
|
||||||
|
#define __BYTE_ORDER _BYTE_ORDER
|
||||||
|
#define __BIG_ENDIAN _BIG_ENDIAN
|
||||||
|
#define __LITTLE_ENDIAN _LITTLE_ENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Timer values */
|
/* Timer values */
|
||||||
|
Loading…
Reference in New Issue
Block a user