File: chkconf.h

package info (click to toggle)
wxwidgets3.0 3.0.5.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 120,464 kB
  • sloc: cpp: 896,633; makefile: 52,303; ansic: 21,971; sh: 5,713; python: 2,940; xml: 1,534; perl: 264; javascript: 33
file content (47 lines) | stat: -rw-r--r-- 1,134 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
 * Name:        wx/os2/chkconf.h
 * Purpose:     Compiler-specific configuration checking
 * Author:      Julian Smart
 * Modified by:
 * Created:     01/02/97
 * Copyright:   (c) Julian Smart
 * Licence:     wxWindows licence
 */

/* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */

#ifndef _WX_OS2_CHKCONF_H_
#define _WX_OS2_CHKCONF_H_

/*
   wxDisplay is not implemented for OS/2, use stub common version instead.
 */
#if wxUSE_DISPLAY
#   undef wxUSE_DISPLAY
#   define wxUSE_DISPLAY 0
#endif /* wxUSE_DISPLAY */

/* Watcom builds for OS/2 port are setup.h driven and setup.h is
   automatically generated from include/wx/setup_inc.h so we have
   to disable here features not supported currently or enable
   features required */
#ifdef __WATCOMC__

#if wxUSE_STACKWALKER
#   undef wxUSE_STACKWALKER
#   define wxUSE_STACKWALKER 0
#endif /* wxUSE_STACKWALKER */

#if !wxUSE_POSTSCRIPT
#   undef wxUSE_POSTSCRIPT
#   define wxUSE_POSTSCRIPT 1
#endif

#if wxUSE_MS_HTML_HELP
#   undef wxUSE_MS_HTML_HELP
#   define wxUSE_MS_HTML_HELP 0
#endif

#endif /* __WATCOM__ */

#endif /* _WX_OS2_CHKCONF_H_ */