summaryrefslogtreecommitdiffstats
path: root/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp')
-rw-r--r--WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp b/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp
index 62fdd4d..9183fa4 100644
--- a/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp
+++ b/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp
@@ -27,8 +27,8 @@
// before including any other files. Failing to include config.h will leave
// WTF_PLATFORM_CF and WTF_USE_JSC undefined, causing build failures in this
// file. But Mac doesn't have a config.h for WebKit, so we can't include the
-// Windows one here. For now we can just define WTF_PLATFORM_CF and WTF_USE_JSC
-// manually, but we need a better long-term solution.
+// Windows one here. For now we can just define WTF_PLATFORM_CF, WTF_USE_JSC, and
+// WTF_USE_CFNETWORK manually, but we need a better long-term solution.
#ifndef WTF_PLATFORM_CF
#define WTF_PLATFORM_CF 1
#endif
@@ -38,6 +38,9 @@
#endif
#if defined(WIN32) || defined(_WIN32)
+#ifndef WTF_USE_CFNETWORK
+#define WTF_USE_CFNETWORK 1
+#endif
#if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF)
#define JS_EXPORTDATA __declspec(dllexport)
#else