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