]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/chkconf.h
don't crash if (char*)c_str() is used twice in a row on the same string and both...
[wxWidgets.git] / include / wx / os2 / chkconf.h
CommitLineData
cb7d7375
WS
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
5981cd22
VZ
17/*
18 wxDisplay is not implemented for OS/2, use stub common version instead.
19 */
20#if wxUSE_DISPLAY
21# undef wxUSE_DISPLAY
22# define wxUSE_DISPLAY 0
23#endif /* wxUSE_DISPLAY */
cb7d7375
WS
24
25/* Watcom builds for OS/2 port are setup.h driven and setup.h is
26 automatically generated from include/wx/setup_inc.h so we have
27 to disable here features not supported currently or enable
28 features required */
5981cd22 29#ifdef __WATCOMC__
ef1717a9 30
cb7d7375
WS
31#if wxUSE_STACKWALKER
32# undef wxUSE_STACKWALKER
33# define wxUSE_STACKWALKER 0
34#endif /* wxUSE_STACKWALKER */
35
36#if !wxUSE_POSTSCRIPT
37# undef wxUSE_POSTSCRIPT
38# define wxUSE_POSTSCRIPT 1
39#endif
40
7c90392a
WS
41#if wxUSE_MS_HTML_HELP
42# undef wxUSE_MS_HTML_HELP
43# define wxUSE_MS_HTML_HELP 0
44#endif
45
cb7d7375
WS
46#endif /* __WATCOM__ */
47
48#endif /* _WX_OS2_CHKCONF_H_ */