]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/except.h
Avoid CRT deprecation warnings for MSVC build using makefiles too.
[wxWidgets.git] / include / wx / except.h
index e63d4f97814c91c7682138984b7c386c9a7aa5c8..116a82efbc444bedbab2eaf73fe07889e0cd2d65 100644 (file)
@@ -24,7 +24,9 @@
 // compilation errors in e.g. wx/scopeguard.h with at least g++ 4
 #if !wxUSE_EXCEPTIONS || \
         (defined(__GNUG__) && !defined(__EXCEPTIONS))
-    #define wxNO_EXCEPTIONS
+    #ifndef wxNO_EXCEPTIONS
+        #define wxNO_EXCEPTIONS
+    #endif
 #endif
 
 #ifdef wxNO_EXCEPTIONS