X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17005cd7233697a60debf3580a46669275c6b901..03773e400b6ff2692f2a9ba045d652c3b7b7109d:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 373b267bc5..33770bcb42 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -544,8 +544,10 @@ # define __VISUALC8__ # elif __VISUALC__ < 1600 # define __VISUALC9__ +# elif __VISUALC__ < 1700 +# define __VISUALC10__ # else -# pragma message("Please update this code for the next VC++ version") +# pragma message("Please update wx/platform.h to recognize this VC++ version") # endif # elif defined(__BCPLUSPLUS__) && !defined(__BORLANDC__) @@ -823,4 +825,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_ */