wxDisplay cleanup/rewrite:
[wxWidgets.git] / include / wx / os2 / chkconf.h
1 /*
2 * Name: wx/os2/chkconf.h
3 * Purpose: Compiler-specific configuration checking
4 * Author: Julian Smart
5 * Modified by:
6 * Created: 01/02/97
7 * RCS-ID: $Id$
8 * Copyright: (c) Julian Smart
9 * Licence: wxWindows licence
10 */
11
12 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
13
14 #ifndef _WX_OS2_CHKCONF_H_
15 #define _WX_OS2_CHKCONF_H_
16
17 #ifdef __WATCOMC__
18
19 /* Watcom builds for OS/2 port are setup.h driven and setup.h is
20 automatically generated from include/wx/setup_inc.h so we have
21 to disable here features not supported currently or enable
22 features required */
23
24 #if wxUSE_DISPLAY
25 # undef wxUSE_DISPLAY
26 # define wxUSE_DISPLAY 0
27 #endif /* wxUSE_DISPLAY */
28
29 #if wxUSE_STACKWALKER
30 # undef wxUSE_STACKWALKER
31 # define wxUSE_STACKWALKER 0
32 #endif /* wxUSE_STACKWALKER */
33
34 #if !wxUSE_POSTSCRIPT
35 # undef wxUSE_POSTSCRIPT
36 # define wxUSE_POSTSCRIPT 1
37 #endif
38
39 #endif /* __WATCOM__ */
40
41 #endif /* _WX_OS2_CHKCONF_H_ */