X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8175d025701a378a1b1644ebd44c3a2050dcc88b..73fbb031f560f00a859d12c2eba133551f807622:/include/wx/msw/chkconf.h?ds=sidebyside diff --git a/include/wx/msw/chkconf.h b/include/wx/msw/chkconf.h index 5bcee9d01c..b0d3e253e3 100644 --- a/include/wx/msw/chkconf.h +++ b/include/wx/msw/chkconf.h @@ -36,13 +36,20 @@ #endif /* - * GCC does not have SEH (__try/__catch) + * All of the settings below require SEH support (__try/__catch) and can't work + * without it. */ - -#if defined(__GNUG__) +#if !defined(_MSC_VER) && \ + (!defined(__BORLANDC__) || __BORLANDC__ < 0x0550) #undef wxUSE_ON_FATAL_EXCEPTION #define wxUSE_ON_FATAL_EXCEPTION 0 -#endif + + #undef wxUSE_CRASHREPORT + #define wxUSE_CRASHREPORT 0 + + #undef wxUSE_STACKWALKER + #define wxUSE_STACKWALKER 0 +#endif // compiler doesn't support SEH /* * wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior