X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06b76f7e8ba4f5882ade265e30d5b4f57eb61e23..ca77701441e39245dcbfce903049e76f166979e5:/include/wx/except.h?ds=inline 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