From 7f7997442007946449b069d250da01f14cdff236 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 1 Aug 2003 17:10:45 +0000 Subject: [PATCH] XML code needs wchar_t git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/chkconf.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.45.2