aboutsummaryrefslogtreecommitdiff
path: root/src/cguittfont
diff options
context:
space:
mode:
authorMartin Doege <mdoege@compuserve.com>2014-06-26 20:30:22 +0200
committersapier <Sapier at GMX dot net>2014-06-29 17:27:33 +0200
commitc410e9182d322a8c095ef94fbadf4d8f541e6b98 (patch)
treeb4626b67e9f6f10b43395013c7a275037aa463a3 /src/cguittfont
parentee7af21e411d5d43ba67f4b67603f72e62b0570d (diff)
downloadminetest-c410e9182d322a8c095ef94fbadf4d8f541e6b98.tar.gz
minetest-c410e9182d322a8c095ef94fbadf4d8f541e6b98.tar.bz2
minetest-c410e9182d322a8c095ef94fbadf4d8f541e6b98.zip
OS X compatibility fixes
Diffstat (limited to 'src/cguittfont')
-rw-r--r--src/cguittfont/irrUString.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cguittfont/irrUString.h b/src/cguittfont/irrUString.h
index 8d7a23aa4..32efaa683 100644
--- a/src/cguittfont/irrUString.h
+++ b/src/cguittfont/irrUString.h
@@ -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