X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01ebf7520366a4cf80975d820794fea394c96d7b..f96b10c283479129b2adfb1b925bf8b39e443bdd:/include/wx/msw/chkconf.h diff --git a/include/wx/msw/chkconf.h b/include/wx/msw/chkconf.h index 5f31c7f6f4..badd90155d 100644 --- a/include/wx/msw/chkconf.h +++ b/include/wx/msw/chkconf.h @@ -24,6 +24,15 @@ #endif #endif +/* + * GCC does not have SEH (__try/__catch) + */ + +#if defined(__GNUG__) + #undef wxUSE_ON_FATAL_EXCEPTION + #define wxUSE_ON_FATAL_EXCEPTION 0 +#endif + /* * wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior */