From: Ryan Norton Date: Sat, 26 Feb 2005 10:23:39 +0000 (+0000) Subject: I'm assuming this was meant to be included X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a4567ae7fe2d9f3400dfc14d469545937faed902 I'm assuming this was meant to be included git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/setup0.h b/include/wx/mac/setup0.h index cb0d271e0c..a2db640a3c 100644 --- a/include/wx/mac/setup0.h +++ b/include/wx/mac/setup0.h @@ -121,7 +121,12 @@ // Default is 1 // // Recommended setting: 1 if your compiler supports it. -#define wxUSE_ON_FATAL_EXCEPTION 1 +#if defined(_MSC_VER) || \ + (defined(__BORLANDC__) && __BORLANDC__ >= 0x0550) + #define wxUSE_ON_FATAL_EXCEPTION 1 +#else + #define wxUSE_ON_FATAL_EXCEPTION 0 +#endif // Set this to 1 to be able to generate a human-readable (unlike // machine-readable minidumop created by wxCrashReport::Generate()) stack back diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index fd814ff1c9..ee73cbb7d6 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -120,7 +120,12 @@ // Default is 1 // // Recommended setting: 1 if your compiler supports it. -#define wxUSE_ON_FATAL_EXCEPTION 1 +#if defined(_MSC_VER) || \ + (defined(__BORLANDC__) && __BORLANDC__ >= 0x0550) + #define wxUSE_ON_FATAL_EXCEPTION 1 +#else + #define wxUSE_ON_FATAL_EXCEPTION 0 +#endif // Set this to 1 to be able to generate a human-readable (unlike // machine-readable minidumop created by wxCrashReport::Generate()) stack back diff --git a/include/wx/setup_inc.h b/include/wx/setup_inc.h index d05c40db5f..996845a9fb 100644 --- a/include/wx/setup_inc.h +++ b/include/wx/setup_inc.h @@ -105,7 +105,12 @@ // Default is 1 // // Recommended setting: 1 if your compiler supports it. -#define wxUSE_ON_FATAL_EXCEPTION 1 +#if defined(_MSC_VER) || \ + (defined(__BORLANDC__) && __BORLANDC__ >= 0x0550) + #define wxUSE_ON_FATAL_EXCEPTION 1 +#else + #define wxUSE_ON_FATAL_EXCEPTION 0 +#endif // Set this to 1 to be able to generate a human-readable (unlike // machine-readable minidumop created by wxCrashReport::Generate()) stack back