X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61a69259c442653024f557707b5ca652d84919e0..bc71c3cdd54e873e63fad71e37fbcd40c3c71feb:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index dd343949e5..713925585f 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -837,7 +837,11 @@ g++) or by editing project files with MSVC so test for it here too. */ #ifndef wxNO_RTTI -# ifdef __GNUG__ + /* + Only 4.3 defines __GXX_RTTI by default so its absence is not an + indication of disabled RTTI with the previous versions. + */ +# if wxCHECK_GCC_VERSION(4, 3) # ifndef __GXX_RTTI # define wxNO_RTTI # endif