]>
Commit | Line | Data |
---|---|---|
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 WIN32 | |
18 | #define _WINDOWS | |
19 | #define __WXMSW__ | |
20 | #define __WINDOWS__ | |
21 | #define __WIN95__ | |
22 | #define __WIN32__ | |
23 | #define STRICT | |
24 | #define NOMINMAX | |
25 | #elif __BEOS__ | |
26 | #include <ansi_prefix.be.h> | |
27 | #include <Be.h> | |
28 | #else | |
29 | #error unknown MW compiler | |
30 | #endif | |
31 | ||
32 | #ifdef __WXMSW__ | |
33 | #include <ansi_prefix.win32.h> | |
34 | #include <ansi_parms.h> | |
35 | #ifdef __MWERKS__ | |
36 | #if defined( __MSL__ ) && __MSL__ >= 0x5012 && __MSL__ < 0x7000 | |
37 | #define fileno _fileno | |
38 | #define fdopen _fdopen | |
39 | #define tell _tell | |
40 | #endif | |
41 | #endif | |
42 | #elif defined( __WXMAC__) | |
43 | #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/ | |
44 | #define ACCESSOR_CALLS_ARE_FUNCTIONS 1 | |
45 | #ifdef __WXDEBUG__ | |
46 | // otherwise the debugger looses all symbol information | |
47 | #define OPAQUE_TOOLBOX_STRUCTS 0 | |
48 | #else | |
49 | #define OPAQUE_TOOLBOX_STRUCTS 1 | |
50 | #endif | |
51 | #include <ansi_prefix.mac.h> | |
52 | /* | |
53 | #include <MacTypes.h> | |
54 | #if UNIVERSAL_INTERFACES_VERSION < 0x0340 | |
55 | #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/" | |
56 | #endif | |
57 | */ | |
58 | #endif | |
59 | ||
60 | #define USE_DEFINE | |
61 | ||
62 | // in order to avoid problems further down in wxWindows | |
63 | ||
64 | #ifdef __cplusplus | |
65 | ||
66 | extern "C" | |
67 | { | |
68 | #endif | |
69 | char *strdup(const char *s) ; | |
70 | int isascii( int c ) ; | |
71 | #ifdef __cplusplus | |
72 | } | |
73 | #endif | |
74 |