]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed CodeWarrior Mach-O compilation
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Thu, 2 Jun 2005 13:12:06 +0000 (13:12 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Thu, 2 Jun 2005 13:12:06 +0000 (13:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/chkconf.h

index a3de7145feff912edec3bb62f8a318d540218223..b25cafaddf2cbdade5481f720ca094e5d9e8a8ea 100644 (file)
  * 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