fixed CodeWarrior Mach-O compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth 2005-06-02 13:12:06 +00:00
parent b28a58d71c
commit 70d7249586

View File

@ -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