Added wxUSE_CONSOLE_EVENTLOOP and wxUSE_SELECT/EPOLLDISPATCHER guards;
put checks for them in the new Unix-specific wx/unix/chkconf.h file git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,6 +35,10 @@
|
||||
# include "wx/x11/chkconf.h"
|
||||
#endif
|
||||
|
||||
#ifdef __UNIX__
|
||||
# include "wx/unix/chkconf.h"
|
||||
#endif
|
||||
|
||||
#ifdef __WXUNIVERSAL__
|
||||
# include "wx/univ/chkconf.h"
|
||||
#endif
|
||||
@@ -83,6 +87,14 @@
|
||||
please keep the options in alphabetical order!
|
||||
*/
|
||||
|
||||
#ifndef wxUSE_CONSOLE_EVENTLOOP
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_CONSOLE_EVENTLOOP must be defined."
|
||||
# else
|
||||
# define wxUSE_CONSOLE_EVENTLOOP 0
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_CONSOLE_EVENTLOOP) */
|
||||
|
||||
#ifndef wxUSE_CRASHREPORT
|
||||
/* this one is special: as currently it is Windows-only, don't force it
|
||||
to be defined on other platforms */
|
||||
|
Reference in New Issue
Block a user