]> git.saurik.com Git - wxWidgets.git/blob - include/wx/wx_cw_cm.h
merged in fix for GetValue() from the 2.2 branch
[wxWidgets.git] / include / wx / wx_cw_cm.h
1 #define MSL_USE_PRECOMPILED_HEADERS 1
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
9 #if __MWERKS__ >= 0x2400
10 #pragma old_argmatch on
11 #endif
12
13 #if (__MWERKS__ < 0x0900) || macintosh
14 #define __MAC__
15 #define __WXMAC__
16 #if TARGET_CARBON
17 #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/
18 #include "MacHeaders.c"
19 /*
20 #define USE_PRECOMPILED_MAC_HEADERS 0
21 #ifdef __cplusplus
22 #include <MacHeadersPPCX++>
23 #else
24 #include <MacHeadersPPCX>
25 #endif
26 */
27 #else
28 #define USE_PRECOMPILED_MAC_HEADERS 1 /*Set to 0 if you don't want to use precompiled MacHeaders*/
29 #endif
30 // automatically includes MacHeaders
31 #elif (__MWERKS__ >= 0x0900) && __INTEL__
32 #define __WXMSW__
33 #define __WINDOWS__
34 #define __WIN95__
35 #define STRICT
36 #define NOMINMAX
37 #elif __BEOS__
38 #include <ansi_prefix.be.h>
39 #include <Be.h>
40 #else
41 #error unknown MW compiler
42 #endif
43
44 #ifdef __WXMSW__
45 #include <ansi_prefix.win32.h>
46 #include <ansi_parms.h>
47 #ifdef __MWERKS__
48 #if defined( __MSL__ ) && __MSL__ >= 0x5012
49 #define fileno _fileno
50 #define fdopen _fdopen
51 #define tell _tell
52 #endif
53 #endif
54 #elif defined( __WXMAC__)
55 #include <ansi_prefix.mac.h>
56 #endif
57
58 #define USE_DEFINE
59
60 // in order to avoid problems further down in wxWindows
61
62 #ifdef __cplusplus
63
64 extern "C"
65 {
66 #endif
67 char *strdup(const char *s) ;
68 int isascii( int c ) ;
69 #ifdef __cplusplus
70 } ;
71 #endif
72