]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
added wx/font.h include to fix PCH-less build
[wxWidgets.git] / include / wx / platform.h
index 731bcc61871c764e5366054e24e2a133488bdaef..b796ce8ecfdcb170c43b990eb2d9beb7e9245a90 100644 (file)
 #endif
 
 #if defined(__PALMOS__)
+#   if __PALMOS__ == 0x06000000
+#       define __WXPALMOS6__
+#   endif
+#   if __PALMOS__ == 0x05000000
+#       define __WXPALMOS5__
+#   endif
 #   ifndef __WXPALMOS__
 #       define __WXPALMOS__
 #   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