]>
Commit | Line | Data |
---|---|---|
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 | /* | |
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 */ | |
24 | ||
25 | #ifdef __WATCOMC__ | |
26 | ||
27 | /* Watcom builds for MGL port are setup.h driven and setup.h is | |
28 | automatically generated from include/wx/setup_inc.h so we have | |
29 | to disable here features not supported currently or enable | |
30 | features required */ | |
31 | ||
32 | #if wxUSE_STACKWALKER | |
33 | # undef wxUSE_STACKWALKER | |
34 | # define wxUSE_STACKWALKER 0 | |
35 | #endif /* wxUSE_STACKWALKER */ | |
36 | ||
37 | #if wxUSE_ACCEL | |
38 | # undef wxUSE_ACCEL | |
39 | # define wxUSE_ACCEL 0 | |
40 | #endif /* wxUSE_ACCEL */ | |
41 | ||
42 | #if wxUSE_DYNLIB_CLASS | |
43 | # undef wxUSE_DYNLIB_CLASS | |
44 | # define wxUSE_DYNLIB_CLASS 0 | |
45 | #endif /* wxUSE_DYNLIB_CLASS */ | |
46 | ||
47 | #if wxUSE_DYNAMIC_LOADER | |
48 | # undef wxUSE_DYNAMIC_LOADER | |
49 | # define wxUSE_DYNAMIC_LOADER 0 | |
50 | #endif /* wxUSE_DYNAMIC_LOADER */ | |
51 | ||
52 | #if wxUSE_ODBC | |
53 | # undef wxUSE_ODBC | |
54 | # define wxUSE_ODBC 0 | |
55 | #endif /* wxUSE_ODBC */ | |
56 | ||
57 | #if wxUSE_DATAOBJ | |
58 | # undef wxUSE_DATAOBJ | |
59 | # define wxUSE_DATAOBJ 0 | |
60 | #endif | |
61 | ||
62 | #if wxUSE_CLIPBOARD | |
63 | # undef wxUSE_CLIPBOARD | |
64 | # define wxUSE_CLIPBOARD 0 | |
65 | #endif /* wxUSE_CLIPBOARD */ | |
66 | ||
67 | #if wxUSE_SOCKETS | |
68 | # undef wxUSE_SOCKETS | |
69 | # define wxUSE_SOCKETS 0 | |
70 | #endif /* wxUSE_SOCKETS */ | |
71 | ||
72 | #if wxUSE_THREADS | |
73 | # undef wxUSE_THREADS | |
74 | # define wxUSE_THREADS 0 | |
75 | #endif /* wxUSE_SOCKETS */ | |
76 | ||
77 | #if wxUSE_PROTOCOL | |
78 | # undef wxUSE_PROTOCOL | |
79 | # define wxUSE_PROTOCOL 0 | |
80 | #endif /* wxUSE_PROTOCOL */ | |
81 | ||
82 | #if wxUSE_URL | |
83 | # undef wxUSE_URL | |
84 | # define wxUSE_URL 0 | |
85 | #endif /* wxUSE_URL */ | |
86 | ||
87 | #if wxUSE_FS_INET | |
88 | # undef wxUSE_FS_INET | |
89 | # define wxUSE_FS_INET 0 | |
90 | #endif /* wxUSE_FS_INET */ | |
91 | ||
92 | #endif /* __WATCOM__ */ | |
93 | ||
94 | #endif /* _WX_MGL_CHKCONF_H_ */ |