diff options
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 2241e43..f937c96 100644 --- a/config.h.in +++ b/config.h.in @@ -163,6 +163,19 @@ first (like Motorola and SPARC, unlike Intel and VAX). */ #undef WORDS_BIGENDIAN + +/* Deal with multiple architecture compiles on Mac OS X */ +#ifdef __APPLE_CC__ +#ifdef __BIG_ENDIAN__ +#define WORDS_BIGENDIAN 1 +#define FLOAT_WORDS_BIGENDIAN 1 +#else +#undef WORDS_BIGENDIAN +#undef FLOAT_WORDS_BIGENDIAN +#endif +#endif + + /* Define to 1 if the X Window System is missing or not being used. */ #undef X_DISPLAY_MISSING |