X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06b76f7e8ba4f5882ade265e30d5b4f57eb61e23..eafdb19c44154550b3c6155a62642e7ab5c6e64d:/include/wx/except.h diff --git a/include/wx/except.h b/include/wx/except.h index e63d4f9781..116a82efbc 100644 --- a/include/wx/except.h +++ b/include/wx/except.h @@ -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