X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d086c633ad593a3f0ed60f4345e18bb783964901..5482ee0766d86c79f82733780d5d4833070bf064:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 53a452ecc0..324a77e876 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 @@ -169,6 +175,10 @@ # endif #endif +#if defined(__POCKETPC__) || defined(__SMARTPHONE__) || defined(__WXGPE__) +# define __WXHANDHELD__ +#endif + /* Include wx/setup.h for the Unix platform defines generated by configure and the library compilation options @@ -510,10 +520,13 @@ ... no gcc at all or gcc < 3.1 ... # endif */ -#define wxCHECK_GCC_VERSION( major, minor ) \ - ( defined(__GNUC__) && defined(__GNUC_MINOR__) \ - && ( ( __GNUC__ > (major) ) \ - || ( __GNUC__ == (major) && __GNUC_MINOR__ >= (minor) ) ) ) +#if defined(__GNUC__) && defined(__GNUC_MINOR__) + #define wxCHECK_GCC_VERSION( major, minor ) \ + ( ( __GNUC__ > (major) ) \ + || ( __GNUC__ == (major) && __GNUC_MINOR__ >= (minor) ) ) +#else + #define wxCHECK_GCC_VERSION( major, minor ) 0 +#endif /* This macro can be used to check that the version of mingw32 compiler is