]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
Changes to allow OLE to compile under mingw32/gcc-2.95
[wxWidgets.git] / include / wx / defs.h
index 49fba4af5461bc6d3d3587124e85a56f149d5117..f80688c80a22703fea7d8b57848be4b123a6a487 100644 (file)
 // 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