aboutsummaryrefslogtreecommitdiff
path: root/src/cguittfont/irrUString.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cguittfont/irrUString.h')
-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