]>
Commit | Line | Data |
---|---|---|
05024233 VS |
1 | /* |
2 | * Name: wx/x11/chkconf.h | |
3 | * Purpose: Compiler-specific configuration checking | |
4 | * Author: Julian Smart | |
5 | * Modified by: | |
6 | * Created: 01/02/97 | |
05024233 VS |
7 | * Copyright: (c) Julian Smart |
8 | * Licence: wxWindows licence | |
9 | */ | |
10 | ||
11 | /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */ | |
12 | ||
13 | #ifndef _WX_X11_CHKCONF_H_ | |
14 | #define _WX_X11_CHKCONF_H_ | |
15 | ||
05024233 VS |
16 | /* wxPalette is always needed */ |
17 | #if !wxUSE_PALETTE | |
18 | # error "wxX11 requires wxUSE_PALETTE=1" | |
19 | #endif | |
20 | ||
a1873279 VZ |
21 | #if wxUSE_SOCKETS && !wxUSE_SELECT_DISPATCHER |
22 | # ifdef wxABORT_ON_CONFIG_ERROR | |
23 | # error "wxSocket requires wxSelectDispatcher in wxX11" | |
24 | # else | |
25 | # undef wxUSE_SELECT_DISPATCHER | |
26 | # define wxUSE_SELECT_DISPATCHER 1 | |
27 | # endif | |
28 | #endif | |
29 | ||
05024233 | 30 | #endif /* _WX_X11_CHKCONF_H_ */ |