]> git.saurik.com Git - wxWidgets.git/blame - include/wx/wx_cw_cm.h
deleted no longer needed resource files
[wxWidgets.git] / include / wx / wx_cw_cm.h
CommitLineData
5273bf2f 1#define MSL_USE_PRECOMPILED_HEADERS 0
17069255
SC
2
3#if !defined( __MWERKS__ )
4 #error "this file is only for builds with Metrowerks CodeWarrior"
5#endif
6
7#define WX_COMP_INLINE_NO_CLASS // defined if the compiler does not want the classname repeated for inlines within a class definition
8
d015713e
SC
9#if __MWERKS__ >= 0x2400
10#pragma old_argmatch on
11#endif
12
17069255
SC
13#if (__MWERKS__ < 0x0900) || macintosh
14 #define __MAC__
15 #define __WXMAC__
17069255
SC
16#elif (__MWERKS__ >= 0x0900) && __INTEL__
17 #define __WXMSW__
18 #define __WINDOWS__
19 #define __WIN95__
20 #define STRICT
21 #define NOMINMAX
22#elif __BEOS__
23 #include <ansi_prefix.be.h>
24 #include <Be.h>
25#else
26 #error unknown MW compiler
27#endif
28
29#ifdef __WXMSW__
30 #include <ansi_prefix.win32.h>
585ae8cb 31 #include <ansi_parms.h>
519cb848 32 #ifdef __MWERKS__
585ae8cb
SC
33 #if defined( __MSL__ ) && __MSL__ >= 0x5012
34 #define fileno _fileno
35 #define fdopen _fdopen
36 #define tell _tell
37 #endif
519cb848 38 #endif
17069255 39#elif defined( __WXMAC__)
95e59663 40 #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/
5273bf2f 41 #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
4f357b2f
SC
42 #ifdef __WXDEBUG__
43 // otherwise the debugger looses all symbol information
44 #define OPAQUE_TOOLBOX_STRUCTS 0
45 #else
5273bf2f 46 #define OPAQUE_TOOLBOX_STRUCTS 1
4f357b2f 47 #endif
5273bf2f
SC
48 #include <ansi_prefix.mac.h>
49 /*
50 #include <MacTypes.h>
95e59663
SC
51 #if UNIVERSAL_INTERFACES_VERSION < 0x0340
52 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
53 #endif
5273bf2f 54 */
17069255
SC
55#endif
56
57#define USE_DEFINE
519cb848 58
17069255
SC
59// in order to avoid problems further down in wxWindows
60
61#ifdef __cplusplus
519cb848 62
17069255
SC
63extern "C"
64{
65#endif
66 char *strdup(const char *s) ;
67 int isascii( int c ) ;
68#ifdef __cplusplus
69} ;
70#endif
71