]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
define __WXFUNCTION__ instead of redefining the (semi-)standard __FUNCTION__ which...
[wxWidgets.git] / include / wx / platform.h
index 731bcc61871c764e5366054e24e2a133488bdaef..53a452ecc052335f2909ce36f3a3126605b09e20 100644 (file)
 #endif
 
 #if defined (__WXMAC__)
-#    if !defined(WORDS_BIGENDIAN) && ( !defined(__MACH__) || ( defined(__BIG_ENDIAN__) && __BIG_ENDIAN__ ) )
+#    if ( !defined(__MACH__) || ( defined(__BIG_ENDIAN__) && __BIG_ENDIAN__ ) )
 #        define WORDS_BIGENDIAN 1
+#    else
+#        undef WORDS_BIGENDIAN
 #    endif
 #endif