]> git.saurik.com Git - wxWidgets.git/blob - include/wx/wx_cw_d.h
__MWERKS__ check now doesn't give compilation error with VC++
[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 #if (__MWERKS__ < 0x0900) || macintosh
22 #define __MAC__
23 #define __WXMAC__
24 #define USE_PRECOMPILED_MAC_HEADERS 1 /*Set to 0 if you don't want to use precompiled MacHeaders*/
25 #include <ansi_prefix.mac.h>
26 #define WX_PRECOMP
27 // automatically includes MacHeaders
28 #elif (__MWERKS__ >= 0x0900) && __INTEL__
29 #define __WXMSW__
30 #define __WINDOWS__
31 #define __WIN95__
32 #define STRICT
33 #define NOMINMAX
34 #include <ansi_prefix.win32.h>
35 // #include <Windows.h>
36 // #include <COMMCTRL.H>
37 #elif __BEOS__
38 #include <ansi_prefix.be.h>
39 #include <Be.h>
40 #else
41 #error unknown MW compiler
42 #endif
43
44 #define __WXDEBUG__ 1
45 #define WXDEBUG 1
46
47 // in order to avoid problems further down in wxWindows
48
49 char *strdup(const char *s) ;
50
51 #endif
52 // _WX_CW__