]> git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/chkconf.h
Destroy the wxDialog::ShowWindowModalThenDo() functor a.s.a.p.
[wxWidgets.git] / include / wx / unix / chkconf.h
1 /*
2 * Name: wx/unix/chkconf.h
3 * Purpose: Unix-specific config settings consistency checks
4 * Author: Vadim Zeitlin
5 * Created: 2007-07-14
6 * Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwidgets.org>
7 * Licence: wxWindows licence
8 */
9
10 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
11
12 #if wxUSE_CONSOLE_EVENTLOOP
13 # if !wxUSE_SELECT_DISPATCHER && !wxUSE_EPOLL_DISPATCHER
14 # ifdef wxABORT_ON_CONFIG_ERROR
15 # error "wxSelect/EpollDispatcher needed for console event loop"
16 # else
17 # undef wxUSE_SELECT_DISPATCHER
18 # define wxUSE_SELECT_DISPATCHER 1
19 # endif
20 # endif
21 #endif /* wxUSE_CONSOLE_EVENTLOOP */
22
23 #if wxUSE_FSWATCHER
24 # if !defined(wxHAS_INOTIFY) && !defined(wxHAS_KQUEUE)
25 # ifdef wxABORT_ON_CONFIG_ERROR
26 # error "wxFileSystemWatcher requires either inotify() or kqueue()"
27 # else
28 # undef wxUSE_FSWATCHER
29 # define wxUSE_FSWATCHER 0
30 # endif
31 # endif
32 #endif /* wxUSE_FSWATCHER */
33
34 #if wxUSE_GSTREAMER
35 # if !wxUSE_THREADS
36 # ifdef wxABORT_ON_CONFIG_ERROR
37 # error "GStreamer requires threads"
38 # else
39 # undef wxUSE_GSTREAMER
40 # define wxUSE_GSTREAMER 0
41 # endif
42 # endif
43 #endif /* wxUSE_GSTREAMER */