X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06b76f7e8ba4f5882ade265e30d5b4f57eb61e23..880d76dfb12d4e8466df30d641bb25c6f71bd398:/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