Remove support for MetroWerks CodeWarrior compiler.
This compiler doesn't exist any more and was probably unsupported even in 2.8, let alone 2.9, so remove all the __MWERKS__ tests to simplify things. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,20 +21,6 @@
|
||||
# define wxUSE_STACKWALKER 0
|
||||
#endif /* wxUSE_STACKWALKER */
|
||||
|
||||
/*
|
||||
* disable the settings which don't work for some compilers
|
||||
*/
|
||||
|
||||
#if defined(__MWERKS__)
|
||||
#undef wxUSE_DEBUG_NEW_ALWAYS
|
||||
#define wxUSE_DEBUG_NEW_ALWAYS 0
|
||||
|
||||
/* DS: Fixes compilation when wxUSE_ON_FATAL_EXCEPTION is 1 */
|
||||
#ifndef wxTYPE_SA_HANDLER
|
||||
#define wxTYPE_SA_HANDLER int
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* check graphics context option, must be on for every os x platform
|
||||
* we only use core graphics now on all builds, try to catch attempts
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
|
||||
//Darn apple - doesn't properly wrap their headers in extern "C"!
|
||||
//http://www.macosx.com/forums/archive/index.php/t-68069.html
|
||||
//Needed for codewarrior link error with mach_port_deallocate()
|
||||
extern "C" {
|
||||
#include <mach/mach_port.h>
|
||||
}
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
// In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If
|
||||
// this causes problems (e.g. link errors), set this to 0. You may need to set
|
||||
// this to 0 if using templates (at least for VC++). This switch is currently
|
||||
// ignored for mingw / cygwin / CodeWarrior
|
||||
// ignored for MinGW/Cygwin.
|
||||
//
|
||||
// Default is 0
|
||||
//
|
||||
@@ -1501,19 +1501,6 @@
|
||||
// Mac-specific settings
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// override some settings for Metrowerks
|
||||
//
|
||||
// VZ: isn't this file only used when building with Metrowerks anyhow?
|
||||
// CS: no, it is also used by the Xcode projects
|
||||
#ifdef __MWERKS__
|
||||
#undef wxUSE_DEBUG_CONTEXT
|
||||
#define wxUSE_DEBUG_CONTEXT 1
|
||||
|
||||
#undef wxUSE_STD_IOSTREAM
|
||||
// CS: I have to set this to 0 now, as shared builds are having problems
|
||||
#define wxUSE_STD_IOSTREAM 0
|
||||
#endif
|
||||
|
||||
#undef wxUSE_GRAPHICS_CONTEXT
|
||||
#define wxUSE_GRAPHICS_CONTEXT 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user