From 4b6f0b91ff0e646ff62968fa11418788f20ac7d1 Mon Sep 17 00:00:00 2001 From: "J. Russell Smyth" Date: Mon, 9 Aug 1999 17:26:52 +0000 Subject: [PATCH] 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 --- include/wx/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2