fixed compiling on mac os x

This commit is contained in:
oy 2011-06-09 22:50:42 +02:00
parent 9845d757ef
commit 69cb197f59

View file

@ -77,7 +77,7 @@
/* use gcc endianness definitions when available */ /* use gcc endianness definitions when available */
#ifdef __GNUC__ #if defined(__GNUC__) && !defined(__APPLE__)
#include <endian.h> #include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN #if __BYTE_ORDER == __LITTLE_ENDIAN
#define CONF_ARCH_ENDIAN_LITTLE 1 #define CONF_ARCH_ENDIAN_LITTLE 1