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