X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e96098220da76e5e8c02c9960d1e25234f96e3b..b04237742c51e022af8ca8fe8933437734f392a3:/include/wx/msw/seh.h?ds=sidebyside diff --git a/include/wx/msw/seh.h b/include/wx/msw/seh.h index caab1a4370..edcefb8fd3 100644 --- a/include/wx/msw/seh.h +++ b/include/wx/msw/seh.h @@ -47,7 +47,7 @@ #define wxSEH_HANDLE(rc) #endif // wxUSE_ON_FATAL_EXCEPTION -#if defined(__VISUALC__) && !defined(__WXWINCE__) +#if wxUSE_ON_FATAL_EXCEPTION && defined(__VISUALC__) && !defined(__WXWINCE__) #include // C++ exception to structured exceptions translator: we need it in order