X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c7f75734a085867c255e35bc53b391c46398a4a..1b8865e92caa043cf31043e38a788d8d4a9286e0:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 3609cbf68a..8732dfc01b 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -842,6 +842,25 @@ # endif #endif /* wxUSE_ODBC */ +#if wxUSE_XML && !wxUSE_WCHAR_T +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_XML requires wxUSE_WCHAR_T" +# else +# undef wxUSE_XML +# define wxUSE_XML 0 +# endif +#endif /* wxUSE_UNICODE_MSLU */ + +#if !wxUSE_DYNLIB_CLASS +# if wxUSE_DYNAMIC_LOADER +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_DYNAMIC_LOADER requires wxUSE_DYNLIB_CLASS." +# else +# define wxUSE_DYNLIB_CLASS 1 +# endif +# endif +#endif /* wxUSE_DYNLIB_CLASS */ + /* the rest of the tests is for the GUI settings only */ #if wxUSE_GUI