]> 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 aa6c716c03370a3bf2c3950eaafbfd189a7b3353..53a452ecc052335f2909ce36f3a3126605b09e20 100644 (file)
 #endif /* wxUSE_UNICODE */
 
 #if defined( __MWERKS__ ) && !defined(__INTEL__)
-// otherwise MSL headers bring in WIN32 dependant APIs
+/* otherwise MSL headers bring in WIN32 dependant APIs */
 #undef UNICODE
 #endif
 
 #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