summaryrefslogtreecommitdiffstats
path: root/WebKit/cf/WebCoreSupport
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/cf/WebCoreSupport')
-rw-r--r--WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp b/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp
index a4cb934..443a35d 100644
--- a/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp
+++ b/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp
@@ -25,14 +25,18 @@
// FIXME: On Windows, we require all WebKit source files to include config.h
// before including any other files. Failing to include config.h will leave
-// WTF_PLATFORM_CF 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 manually, but we need a
-// better long-term solution.
+// 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.
#ifndef WTF_PLATFORM_CF
#define WTF_PLATFORM_CF 1
#endif
+#ifndef WTF_USE_JSC
+#define WTF_USE_JSC 1
+#endif
+
#include "WebInspectorClient.h"
#include <CoreFoundation/CoreFoundation.h>