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