mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
OS X compatibility fixes
This commit is contained in:
parent
ee7af21e41
commit
c410e9182d
10 changed files with 158 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue