git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31692
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Default is 1
//
// Recommended setting: 1 if your compiler supports it.
// Default is 1
//
// Recommended setting: 1 if your compiler supports it.
-#if defined(_MSC_VER) || \
- (defined(__BORLANDC__) && __BORLANDC__ >= 0x0550)
- #define wxUSE_ON_FATAL_EXCEPTION 1
-#else
- #define wxUSE_ON_FATAL_EXCEPTION 0
-#endif
+#define wxUSE_ON_FATAL_EXCEPTION 1
// Set this to 1 to be able to generate a human-readable (unlike
// machine-readable minidumop created by wxCrashReport::Generate()) stack back
// Set this to 1 to be able to generate a human-readable (unlike
// machine-readable minidumop created by wxCrashReport::Generate()) stack back
// Recommended setting: 1, set to 0 if your programs never crash
#define wxUSE_CRASHREPORT 1
// Recommended setting: 1, set to 0 if your programs never crash
#define wxUSE_CRASHREPORT 1
+
+// all of the settings below require SEH support (__try/__catch) and can't work
+// without it
+#if !defined(_MSC_VER) && \
+ (!defined(__BORLANDC__) || __BORLANDC__ < 0x0550)
+ #undef wxUSE_ON_FATAL_EXCEPTION
+ #define wxUSE_ON_FATAL_EXCEPTION 0
+
+ #undef wxUSE_CRASHREPORT
+ #define wxUSE_CRASHREPORT 0
+
+ #undef wxUSE_STACKWALKER
+ #define wxUSE_STACKWALKER 0
+#endif // compiler doesn't support SEH
+
// ----------------------------------------------------------------------------
// obsolete settings
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// obsolete settings
// ----------------------------------------------------------------------------