X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c892f574cb68906797b34cdf83e52c2055348f8..2febffbac706bd984d1c8e96bbc8f27b2343f07d:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 957c26b2ae..dd343949e5 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -652,6 +652,8 @@ #else # undef wxCHECK_W32API_VERSION # define wxCHECK_W32API_VERSION(maj, min) (0) +# undef wxCHECK_MINGW32_VERSION +# define wxCHECK_MINGW32_VERSION(maj, min) (0) #endif /** @@ -825,4 +827,25 @@ #define POSSEC_FILEFN #endif // __WXPALMOS5__ +/* + Optionally supported C++ features. + */ + +/* + RTTI: if it is disabled in build/msw/makefile.* then this symbol will + already be defined but it's also possible to do it from configure (with + g++) or by editing project files with MSVC so test for it here too. + */ +#ifndef wxNO_RTTI +# ifdef __GNUG__ +# ifndef __GXX_RTTI +# define wxNO_RTTI +# endif +# elif defined(_MSC_VER) +# ifndef _CPPRTTI +# define wxNO_RTTI +# endif +# endif +#endif // wxNO_RTTI + #endif /* _WX_PLATFORM_H_ */