summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/text/TextEncodingRegistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/text/TextEncodingRegistry.cpp')
-rw-r--r--Source/WebCore/platform/text/TextEncodingRegistry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/text/TextEncodingRegistry.cpp b/Source/WebCore/platform/text/TextEncodingRegistry.cpp
index bd8b7a51e..4763bf834 100644
--- a/Source/WebCore/platform/text/TextEncodingRegistry.cpp
+++ b/Source/WebCore/platform/text/TextEncodingRegistry.cpp
@@ -51,7 +51,7 @@
#if USE(GLIB_UNICODE)
#include "gtk/TextCodecGtk.h"
#endif
-#if USE(WINCE_UNICODE)
+#if OS(WINDOWS) && USE(WCHAR_UNICODE)
#include "win/TextCodecWin.h"
#endif
@@ -311,7 +311,7 @@ static void extendTextCodecMaps()
TextCodecGtk::registerExtendedCodecs(addToTextCodecMap);
#endif
-#if USE(WINCE_UNICODE)
+#if OS(WINDOWS) && USE(WCHAR_UNICODE)
TextCodecWin::registerExtendedEncodingNames(addToTextEncodingNameMap);
TextCodecWin::registerExtendedCodecs(addToTextCodecMap);
#endif