summaryrefslogtreecommitdiff
path: root/configh.in
diff options
context:
space:
mode:
Diffstat (limited to 'configh.in')
-rw-r--r--configh.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configh.in b/configh.in
index c0f95fd69..3d1c4d1f0 100644
--- a/configh.in
+++ b/configh.in
@@ -161,8 +161,12 @@
*
* Byte order of your machine: 1 = big-endian, 0 = little-endian.
*/
-
+
+#ifdef __APPLE__
+#include <mac_endianness.h>
+#else
#define WORDS_BIGENDIAN 0
+#endif
/*
* U16, U32, U64: