Index: Include/pymacconfig.h =================================================================== --- Include/pymacconfig.h (revision 66828) +++ Include/pymacconfig.h (working copy) @@ -15,6 +15,7 @@ # undef SIZEOF_SIZE_T # undef SIZEOF_TIME_T # undef SIZEOF_VOID_P +# undef WORDS_BIGENDIAN # undef VA_LIST_IS_ARRAY # if defined(__LP64__) && defined(__x86_64__) @@ -54,6 +55,11 @@ # endif +#ifdef __BIG_ENDIAN__ +#define WORDS_BIGENDIAN 1 +#endif /* __BIG_ENDIAN */ + + #endif /* defined(_APPLE__) */ #endif /* PYMACCONFIG_H */