]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/wx_cw_cm.h
1 #define MSL_USE_PRECOMPILED_HEADERS 0
3 // mac os assert levels
5 #define DEBUG_INTERNAL 1
7 #if !defined( __MWERKS__ )
8 #error "this file is only for builds with Metrowerks CodeWarrior"
11 #define WX_COMP_INLINE_NO_CLASS // defined if the compiler does not want the classname repeated for inlines within a class definition
13 #if __MWERKS__ >= 0x2400 && __MWERKS__ <= 0x3200
14 #pragma old_argmatch on
17 #if (__MWERKS__ < 0x0900) || macintosh || __MACH__
20 #elif (__MWERKS__ >= 0x0900) && __INTEL__
30 #include <ansi_prefix.be.h>
33 #error unknown MW compiler
37 #include <ansi_prefix.win32.h>
38 #include <ansi_parms.h>
40 #if defined( __MSL__ ) && __MSL__ >= 0x5012 && __MSL__ < 0x7000
41 #define fileno _fileno
42 #define fdopen _fdopen
46 #elif defined( __WXMAC__)
47 #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/
48 #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
49 #define OPAQUE_TOOLBOX_STRUCTS 1
51 #include <ansi_prefix.mach.h>
52 #include <msl_c_version.h>
55 #include <machine/ansi.h>
57 #include <ansi_prefix.mac.h>
59 // for getting the correct expat includes
63 #if UNIVERSAL_INTERFACES_VERSION < 0x0340
64 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
71 // in order to avoid problems further down in wxWidgets
78 char *strdup(const char *s
) ;
79 int isascii( int c
) ;