mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed compiling on mac os x
This commit is contained in:
parent
9845d757ef
commit
69cb197f59
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue