X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e55e621ec5f0307cfd46e14af47ec186c4f1034d..a5664fd6ef32c7e7432a9213ad8a8f9550460fbf:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 33770bcb42..713925585f 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 /** @@ -835,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