From: Václav Slavík Date: Fri, 1 Aug 2003 17:10:45 +0000 (+0000) Subject: XML code needs wchar_t X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7f7997442007946449b069d250da01f14cdff236 XML code needs wchar_t git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 3609cbf68a..7ac15bfa8b 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -842,6 +842,15 @@ # 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 */ + /* the rest of the tests is for the GUI settings only */ #if wxUSE_GUI