From: J. Russell Smyth Date: Mon, 9 Aug 1999 17:26:52 +0000 (+0000) Subject: Corrected check for new mingw32 with new headers X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4b6f0b91ff0e646ff62968fa11418788f20ac7d1 Corrected check for new mingw32 with new headers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index 49fba4af54..f80688c80a 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -133,7 +133,7 @@ // Mingw32 gcc-2.95 uses new windows headers which are more ms-like // we are setting this define because of the complex check // using NORLANDER as Cygwin may follow. (header author is Anders Norlander) -#if defined(__MINGW32__) && (__GNUC__>=2) && (__GNUC_MINOR__>=95) +#if defined(__MINGW32__) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95))) # define wxUSE_NORLANDER_HEADERS 1 #endif