X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b0fc907f70d0059216c8f447d6bb9f51a5de1571..9d52aad39a4e3b52c5baa50b9cc55caaf91bb026:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index f05ad703d2..c808d500f1 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -10,6 +10,8 @@ */ /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */ +#ifndef _WX_CHKCONF_H_ +#define _WX_CHKCONF_H_ /* Platform-specific checking. @@ -35,6 +37,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 +89,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 */ @@ -1842,3 +1856,5 @@ #endif /* wxUSE_VARIANT */ #endif /* wxUSE_GUI */ + +#endif /* _WX_CHKCONF_H_ */