]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/wx_cw_cm.h
3 Purpose: wxWidgets definitions for CodeWarrior builds
8 Copyright: (c) Stefan Csomor
9 Licence: wxWindows licence
12 #define MSL_USE_PRECOMPILED_HEADERS 0
14 // mac os assert levels
16 #define DEBUG_INTERNAL 1
18 #if !defined( __MWERKS__ )
19 #error "this file is only for builds with Metrowerks CodeWarrior"
22 #define WX_COMP_INLINE_NO_CLASS // defined if the compiler does not want the classname repeated for inlines within a class definition
24 #if __MWERKS__ >= 0x2400 && __MWERKS__ <= 0x3200
25 #pragma old_argmatch on
28 #if (__MWERKS__ < 0x0900) || macintosh || __MACH__
31 #elif (__MWERKS__ >= 0x0900) && __INTEL__
41 #include <ansi_prefix.be.h>
44 #error unknown MW compiler
48 #include <ansi_prefix.win32.h>
49 #include <ansi_parms.h>
51 #if defined( __MSL__ ) && __MSL__ >= 0x5012 && __MSL__ < 0x7000
52 #define fileno _fileno
53 #define fdopen _fdopen
57 #elif defined( __WXMAC__)
58 #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/
59 #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
60 #define OPAQUE_TOOLBOX_STRUCTS 1
62 #include <ansi_prefix.mach.h>
63 #include <msl_c_version.h>
66 #include <machine/ansi.h>
68 #include <ansi_prefix.mac.h>
70 // for getting the correct expat includes
74 #if UNIVERSAL_INTERFACES_VERSION < 0x0340
75 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"