Title: [149290] trunk/Source/WTF
Revision
149290
Author
par...@webkit.org
Date
2013-04-29 08:59:10 -0700 (Mon, 29 Apr 2013)

Log Message

Define USE(ICU_UNICODE) if USE(WCHAR_UNICODE) is false
https://bugs.webkit.org/show_bug.cgi?id=115349

Reviewed by Andreas Kling.

Since we support only ICU and WCHAR as Unicode backend (ICU is the default)
automatically use ICU if WCHAR was not selected via compiler defines.

* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (149289 => 149290)


--- trunk/Source/WTF/ChangeLog	2013-04-29 15:57:49 UTC (rev 149289)
+++ trunk/Source/WTF/ChangeLog	2013-04-29 15:59:10 UTC (rev 149290)
@@ -1,5 +1,17 @@
 2013-04-29  Patrick Gansterer  <par...@webkit.org>
 
+        Define USE(ICU_UNICODE) if USE(WCHAR_UNICODE) is false
+        https://bugs.webkit.org/show_bug.cgi?id=115349
+
+        Reviewed by Andreas Kling.
+
+        Since we support only ICU and WCHAR as Unicode backend (ICU is the default)
+        automatically use ICU if WCHAR was not selected via compiler defines.
+
+        * wtf/Platform.h:
+
+2013-04-29  Patrick Gansterer  <par...@webkit.org>
+
         Build fix for WinCE after r148888 and r149097
         https://bugs.webkit.org/show_bug.cgi?id=115168
 

Modified: trunk/Source/WTF/wtf/Platform.h (149289 => 149290)


--- trunk/Source/WTF/wtf/Platform.h	2013-04-29 15:57:49 UTC (rev 149289)
+++ trunk/Source/WTF/wtf/Platform.h	2013-04-29 15:59:10 UTC (rev 149290)
@@ -496,11 +496,7 @@
 
 #endif  /* OS(WINCE) && !PLATFORM(QT) */
 
-#if OS(WINCE) && !PLATFORM(QT)
-#define WTF_USE_WCHAR_UNICODE 1
-#elif PLATFORM(GTK)
-/* The GTK+ Unicode backend is configurable */
-#else
+#if !USE(WCHAR_UNICODE)
 #define WTF_USE_ICU_UNICODE 1
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to