]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use wxCHECK_GCC_VERSION in the same test as __MINGW32__/__CYGWIN32__ as it...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Oct 2005 16:56:01 +0000 (16:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Oct 2005 16:56:01 +0000 (16:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 22437ecab7e8b29013440befd7e060a957a53ddc..48561360f0adff5b24b24b8ecff9906ae61b6c3e 100644 (file)
@@ -252,10 +252,11 @@ typedef int wxWindowID;
     #if defined(__VISUALC__) && (__VISUALC__ >= 1100)
         /*  VC++ 6.0 and 5.0 have C++ casts (what about earlier versions?) */
         #define HAVE_CXX_CASTS
-    #elif ( defined(__MINGW32__) || defined(__CYGWIN32__) ) \
-          && wxCHECK_GCC_VERSION(2, 95)
-        /*  GCC 2.95 has C++ casts, what about earlier versions? */
-        #define HAVE_CXX_CASTS
+    #elif defined(__MINGW32__) || defined(__CYGWIN32__)
+        #if wxCHECK_GCC_VERSION(2, 95)
+            /*  GCC 2.95 has C++ casts, what about earlier versions? */
+            #define HAVE_CXX_CASTS
+        #endif
     #endif
 #endif /*  !HAVE_CXX_CASTS */