]>
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 // defined if the compiler does not want the classname repeated for inlines
23 // within a class definition
24 #define WX_COMP_INLINE_NO_CLASS
26 #if __MWERKS__ >= 0x2400 && __MWERKS__ < 0x3200
27 #pragma old_argmatch on
30 #if (__MWERKS__ < 0x0900) || macintosh || __MACH__
33 #elif (__MWERKS__ >= 0x0900) && __INTEL__
43 #include <ansi_prefix.be.h>
46 #error unknown MW compiler
50 #include <ansi_prefix.win32.h>
51 #include <ansi_parms.h>
53 #if defined( __MSL__ ) && __MSL__ >= 0x5012 && __MSL__ < 0x7000
54 #define fileno _fileno
55 #define fdopen _fdopen
59 #elif defined( __WXMAC__)
60 /* Set to 0 if you don't want to use precompiled MacHeaders */
61 #define USE_PRECOMPILED_MAC_HEADERS 0
62 #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
63 #define OPAQUE_TOOLBOX_STRUCTS 1
65 /* CW8.3+ has mbstate_t */
66 #if defined(__MACH__) && __MWERKS__ < 0x3003
67 typedef int mbstate_t;
72 #if defined(__MACH__) && __MWERKS__ >= 0x3200
77 // for getting the correct expat includes
81 #if UNIVERSAL_INTERFACES_VERSION < 0x0340
82 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"