]> git.saurik.com Git - wxWidgets.git/blob - include/wx/wx_cw_cm.h
Getting rid of odd control characters at EOL in source.
[wxWidgets.git] / include / wx / wx_cw_cm.h
1 #define MSL_USE_PRECOMPILED_HEADERS 0
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 #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
42 #define OPAQUE_TOOLBOX_STRUCTS 1
43 #include <ansi_prefix.mac.h>
44 /*
45 #include <MacTypes.h>
46 #if UNIVERSAL_INTERFACES_VERSION < 0x0340
47 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
48 #endif
49 */
50 #endif
51
52 #define USE_DEFINE
53
54 // in order to avoid problems further down in wxWindows
55
56 #ifdef __cplusplus
57
58 extern "C"
59 {
60 #endif
61 char *strdup(const char *s) ;
62 int isascii( int c ) ;
63 #ifdef __cplusplus
64 } ;
65 #endif
66