]> git.saurik.com Git - wxWidgets.git/commitdiff
wchar_t is now always required, updated chartype.h check accordingly
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 16 Apr 2008 22:20:50 +0000 (22:20 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 16 Apr 2008 22:20:50 +0000 (22:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chartype.h

index 64f7147cbbc744d1c0a1be43059fe0518e32aaf0..4bd55d63bb2bdfe0b543a878fb16c7f44acf4c33 100644 (file)
@@ -38,8 +38,8 @@
 #endif /* !defined(wxUSE_WCHAR_T) */
 
 /* Unicode support requires wchar_t */
-#if wxUSE_UNICODE && !wxUSE_WCHAR_T
-    #error "wchar_t must be available in Unicode build"
+#if !wxUSE_WCHAR_T
+    #error "wchar_t must be available"
 #endif /* Unicode */
 
 /*