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