]> git.saurik.com Git - wxWidgets.git/commitdiff
XML code needs wchar_t
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 1 Aug 2003 17:10:45 +0000 (17:10 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 1 Aug 2003 17:10:45 +0000 (17:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index 3609cbf68adf5a0e1c50428daf22eab9016321a8..7ac15bfa8b9123fcfd181549ea3e83c9b2e3501f 100644 (file)
 #   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