]>
Commit | Line | Data |
---|---|---|
1b19f0c3 SC |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx_cw.h | |
3 | // Purpose: wxWindows definitions for CodeWarrior builds | |
4 | // Author: Stefan Csomor | |
5 | // Modified by: | |
6 | // Created: 12/10/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Stefan Csomor | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_CW__ | |
13 | #define _WX_CW__ | |
14 | #define MSL_USE_PRECOMPILED_HEADERS 1 | |
15 | ||
16 | #if !defined( __MWERKS__ ) | |
17 | #error "this file is only for builds with Metrowerks CodeWarrior" | |
18 | #endif | |
19 | ||
20 | #define WX_COMP_INLINE_NO_CLASS // defined if the compiler does not want the classname repeated for inlines within a class definition | |
21 | ||
22 | #if (__MWERKS__ < 0x0900) || macintosh | |
23 | #define __MAC__ | |
24 | #define __WXMAC__ | |
25 | #define USE_PRECOMPILED_MAC_HEADERS 1 /*Set to 0 if you don't want to use precompiled MacHeaders*/ | |
26 | #include <ansi_prefix.mac.h> | |
27 | #define WX_PRECOMP | |
28 | // automatically includes MacHeaders | |
29 | #elif (__MWERKS__ >= 0x0900) && __INTEL__ | |
30 | #define __WXMSW__ | |
31 | #define __WINDOWS__ | |
32 | #define __WIN95__ | |
33 | #define STRICT | |
34 | #define NOMINMAX | |
35 | #include <ansi_prefix.win32.h> | |
36 | #elif __BEOS__ | |
37 | #include <ansi_prefix.be.h> | |
38 | #include <Be.h> | |
39 | #else | |
40 | #error unknown MW compiler | |
41 | #endif | |
42 | ||
43 | // in order to avoid problems further down in wxWindows | |
44 | ||
45 | char *strdup(const char *s) ; | |
46 | ||
47 | #endif | |
48 | // _WX_CW__ |