]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/chkconf.h
2 * Name: wx/x11/chkconf.h
3 * Purpose: Compiler-specific configuration checking
8 * Copyright: (c) Julian Smart
9 * Licence: wxWindows licence
12 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
14 #ifndef _WX_X11_CHKCONF_H_
15 #define _WX_X11_CHKCONF_H_
17 /* wxPalette is always needed */
19 # error "wxX11 requires wxUSE_PALETTE=1"
22 #if wxUSE_SOCKETS && !wxUSE_SELECT_DISPATCHER
23 # ifdef wxABORT_ON_CONFIG_ERROR
24 # error "wxSocket requires wxSelectDispatcher in wxX11"
26 # undef wxUSE_SELECT_DISPATCHER
27 # define wxUSE_SELECT_DISPATCHER 1
31 #endif /* _WX_X11_CHKCONF_H_ */