aboutsummaryrefslogtreecommitdiff
path: root/src/cguittfont
diff options
context:
space:
mode:
Diffstat (limited to 'src/cguittfont')
-rw-r--r--src/cguittfont/irrUString.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cguittfont/irrUString.h b/src/cguittfont/irrUString.h
index c175c792a..eb7abe5a1 100644
--- a/src/cguittfont/irrUString.h
+++ b/src/cguittfont/irrUString.h
@@ -45,7 +45,7 @@
#define __BYTE_ORDER 0
#define __LITTLE_ENDIAN 0
#define __BIG_ENDIAN 1
-#elif __MACH__
+#elif defined(__MACH__) && defined(__APPLE__)
#include <machine/endian.h>
#elif defined(__FreeBSD__)
#include <sys/endian.h>