From 70d72495869e3dfad6748888dd6bb474680f4b54 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Thu, 2 Jun 2005 13:12:06 +0000 Subject: [PATCH] fixed CodeWarrior Mach-O compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/chkconf.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/wx/mac/carbon/chkconf.h b/include/wx/mac/carbon/chkconf.h index a3de7145fe..b25cafaddf 100644 --- a/include/wx/mac/carbon/chkconf.h +++ b/include/wx/mac/carbon/chkconf.h @@ -16,13 +16,14 @@ * disable the settings which don't work for some compilers */ -/* - * wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior - */ - #if defined(__MWERKS__) #undef wxUSE_DEBUG_NEW_ALWAYS #define wxUSE_DEBUG_NEW_ALWAYS 0 + + /* DS: Fixes compilation when wxUSE_FATAL_EXCEPTION is 1 */ + #ifndef wxTYPE_SA_HANDLER + #define wxTYPE_SA_HANDLER int + #endif #endif /* @@ -30,7 +31,7 @@ */ #ifndef wxMAC_USE_CORE_GRAPHICS -#define wxMAC_USE_CORE_GRAPHICS 0 + #define wxMAC_USE_CORE_GRAPHICS 0 #endif #endif