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