From 0a7b481fee70afb6736a9a19edcadbc679bdfb2f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 11 Sep 2004 19:21:43 +0000 Subject: [PATCH] BC++ 5.5 and later supports wxUSE_ON_FATAL_EXCEPTION git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/setup0.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index c7380375c4..df212e6f92 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -126,7 +126,8 @@ // Default is 1 // // Recommended setting: 1 if your compiler supports it. -#ifdef _MSC_VER +#if defined(_MSC_VER) || \ + (defined(__BORLANDC__) && __BORLANDC__ >= 0x0550) #define wxUSE_ON_FATAL_EXCEPTION 1 #else #define wxUSE_ON_FATAL_EXCEPTION 0