X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63ccc65902257c448abcb5d1bd2278a46e62a23d..538f3830191e25eaf0edb0a379e08d4f85ee49bc:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index b796ce8ecf..324a77e876 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -175,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 @@ -516,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