]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mgl/chkconf.h
Minor corrections to make dist after reports
[wxWidgets.git] / include / wx / mgl / chkconf.h
1 /*
2 * Name: wx/mgl/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_MGL_CHKCONF_H_
15 #define _WX_MGL_CHKCONF_H_
16
17 #ifndef __WXUNIVERSAL__
18 # error "wxMGL cannot be built without wxUniversal"
19 #endif
20
21 /* wxPalette is always needed */
22 #if !wxUSE_PALETTE
23 # error "wxMGL requires wxUSE_PALETTE=1"
24 #endif
25
26 /*
27 wxDisplay is not implemented for OS/2, use stub common version instead.
28 */
29 #if wxUSE_DISPLAY
30 # undef wxUSE_DISPLAY
31 # define wxUSE_DISPLAY 0
32 #endif /* wxUSE_DISPLAY */
33
34 #ifdef __WATCOMC__
35
36 /* Watcom builds for MGL port are setup.h driven and setup.h is
37 automatically generated from include/wx/setup_inc.h so we have
38 to disable here features not supported currently or enable
39 features required */
40
41 #if wxUSE_STACKWALKER
42 # undef wxUSE_STACKWALKER
43 # define wxUSE_STACKWALKER 0
44 #endif /* wxUSE_STACKWALKER */
45
46 #if wxUSE_ACCEL
47 # undef wxUSE_ACCEL
48 # define wxUSE_ACCEL 0
49 #endif /* wxUSE_ACCEL */
50
51 #if wxUSE_DYNLIB_CLASS
52 # undef wxUSE_DYNLIB_CLASS
53 # define wxUSE_DYNLIB_CLASS 0
54 #endif /* wxUSE_DYNLIB_CLASS */
55
56 #if wxUSE_DYNAMIC_LOADER
57 # undef wxUSE_DYNAMIC_LOADER
58 # define wxUSE_DYNAMIC_LOADER 0
59 #endif /* wxUSE_DYNAMIC_LOADER */
60
61 #if wxUSE_DATAOBJ
62 # undef wxUSE_DATAOBJ
63 # define wxUSE_DATAOBJ 0
64 #endif
65
66 #if wxUSE_CLIPBOARD
67 # undef wxUSE_CLIPBOARD
68 # define wxUSE_CLIPBOARD 0
69 #endif /* wxUSE_CLIPBOARD */
70
71 #if wxUSE_SOCKETS
72 # undef wxUSE_SOCKETS
73 # define wxUSE_SOCKETS 0
74 #endif /* wxUSE_SOCKETS */
75
76 #if wxUSE_THREADS
77 # undef wxUSE_THREADS
78 # define wxUSE_THREADS 0
79 #endif /* wxUSE_SOCKETS */
80
81 #if wxUSE_PROTOCOL
82 # undef wxUSE_PROTOCOL
83 # define wxUSE_PROTOCOL 0
84 #endif /* wxUSE_PROTOCOL */
85
86 #if wxUSE_URL
87 # undef wxUSE_URL
88 # define wxUSE_URL 0
89 #endif /* wxUSE_URL */
90
91 #if wxUSE_FS_INET
92 # undef wxUSE_FS_INET
93 # define wxUSE_FS_INET 0
94 #endif /* wxUSE_FS_INET */
95
96 #if wxUSE_MS_HTML_HELP
97 # undef wxUSE_MS_HTML_HELP
98 # define wxUSE_MS_HTML_HELP 0
99 #endif
100
101 #endif /* __WATCOM__ */
102
103 #endif /* _WX_MGL_CHKCONF_H_ */