X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b2b40b45fd13c5fead54b7d36819b1411fdef63..d33704ddf2884c8b1cf1178e3cee6d2e1b4004f0:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 731bcc6187..b796ce8ecf 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -72,6 +72,12 @@ #endif #if defined(__PALMOS__) +# if __PALMOS__ == 0x06000000 +# define __WXPALMOS6__ +# endif +# if __PALMOS__ == 0x05000000 +# define __WXPALMOS5__ +# endif # ifndef __WXPALMOS__ # define __WXPALMOS__ # endif @@ -541,8 +547,10 @@ #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