]> git.saurik.com Git - wxWidgets.git/blob - include/wx/wx_cw_cm.h
Some updates to the MSW install text
[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 #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>
31 #include <ansi_parms.h>
32 #ifdef __MWERKS__
33 #if defined( __MSL__ ) && __MSL__ >= 0x5012
34 #define fileno _fileno
35 #define fdopen _fdopen
36 #define tell _tell
37 #endif
38 #endif
39 #elif defined( __WXMAC__)
40 #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/
41 #include "MacHeaders.c"
42 #include <ansi_prefix.mac.h>
43 #if UNIVERSAL_INTERFACES_VERSION < 0x0340
44 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
45 #endif
46 #endif
47
48 #define USE_DEFINE
49
50 // in order to avoid problems further down in wxWindows
51
52 #ifdef __cplusplus
53
54 extern "C"
55 {
56 #endif
57 char *strdup(const char *s) ;
58 int isascii( int c ) ;
59 #ifdef __cplusplus
60 } ;
61 #endif
62