]> git.saurik.com Git - wxWidgets.git/blob - include/wx/wx_cw_d.h
BC++/16-bit support now working, but without resource system
[wxWidgets.git] / include / wx / wx_cw_d.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx_cw_d.h
3 // Purpose: wxWindows definitions for CodeWarrior builds (Debug)
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
15 #define MSL_USE_PRECOMPILED_HEADERS 1
16
17 #if !defined( __MWERKS__ )
18 #error "this file is only for builds with Metrowerks CodeWarrior"
19 #endif
20
21 #define WX_COMP_INLINE_NO_CLASS // defined if the compiler does not want the classname repeated for inlines within a class definition
22
23 #if (__MWERKS__ < 0x0900) || macintosh
24 #define __MAC__
25 #define __WXMAC__
26 #define USE_PRECOMPILED_MAC_HEADERS 1 /*Set to 0 if you don't want to use precompiled MacHeaders*/
27 #include <ansi_prefix.mac.h>
28 #define WX_PRECOMP
29 // automatically includes MacHeaders
30 #elif (__MWERKS__ >= 0x0900) && __INTEL__
31 #define __WXMSW__
32 #define __WINDOWS__
33 #define __WIN95__
34 #define STRICT
35 #define NOMINMAX
36 #include <ansi_prefix.win32.h>
37 // #include <Windows.h>
38 // #include <COMMCTRL.H>
39 #elif __BEOS__
40 #include <ansi_prefix.be.h>
41 #include <Be.h>
42 #else
43 #error unknown MW compiler
44 #endif
45
46 #define __WXDEBUG__
47 #define USE_DEFINE
48 // in order to avoid problems further down in wxWindows
49
50 #ifdef __cplusplus
51 extern "C"
52 {
53 #endif
54 char *strdup(const char *s) ;
55 int isascii( int c ) ;
56 #ifdef __cplusplus
57 } ;
58 #endif
59 #endif
60 // _WX_CW__