1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-20 03:35:18 +02:00

OS X compatibility fixes

This commit is contained in:
Martin Doege
2014-06-26 20:30:22 +02:00
committed by sapier
parent ee7af21e41
commit c410e9182d
10 changed files with 158 additions and 31 deletions

View File

@@ -45,6 +45,8 @@
#define __BYTE_ORDER 0
#define __LITTLE_ENDIAN 0
#define __BIG_ENDIAN 1
#elif __MACH__
#include <machine/endian.h>
#else
#include <endian.h>
#endif