]> git.saurik.com Git - wxWidgets.git/commitdiff
support mac on little endian systems
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 7 Jun 2005 03:25:23 +0000 (03:25 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 7 Jun 2005 03:25:23 +0000 (03:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/config_xcode.h
include/wx/platform.h

index f5b8d20a17825ac0738dedd3c80cf65c9903f168..9f341fa8c21794603aa4f97088745a01f07d138c 100644 (file)
@@ -84,7 +84,9 @@
 #define SOCKLEN_T socklen_t
 #define STDC_HEADERS 1
 #define TARGET_CARBON 1
+#if __BIG_ENDIAN__
 #define WORDS_BIGENDIAN 1
+#endif
 #define WXWIN_COMPATIBILITY_2_4 1
 #define WXWIN_OS_DESCRIPTION "Darwin 7.3.0 Power Macintosh"
 #define WX_GMTOFF_IN_TM 1
index 035b7e78ae0b92f21079ada59ba6a2b5b9a21f22..96d9541774ee10ded99a757842a1aa6a0a878aa4 100644 (file)
 #endif
 
 #if defined (__WXMAC__)
-#    ifndef WORDS_BIGENDIAN
+#    ifndef WORDS_BIGENDIAN && ( !defined(__MACH__) || ( defined(__BIG_ENDIAN__) && __BIG_ENDIAN__ ) )
 #        define WORDS_BIGENDIAN 1
 #    endif
 #endif