summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/wtf/Assertions.cpp5
-rw-r--r--src/script/script.pro8
2 files changed, 12 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/wtf/Assertions.cpp b/src/3rdparty/webkit/JavaScriptCore/wtf/Assertions.cpp
index 819ed9a..54daf23 100644
--- a/src/3rdparty/webkit/JavaScriptCore/wtf/Assertions.cpp
+++ b/src/3rdparty/webkit/JavaScriptCore/wtf/Assertions.cpp
@@ -72,7 +72,10 @@ static void vprintf_stderr_common(const char* format, va_list args)
CFRelease(cfFormat);
} else
#elif COMPILER(MSVC) && !defined(WINCEBASIC)
- if (IsDebuggerPresent()) {
+# if !defined(_WIN32_WCE) || (_WIN32_WCE >= 0x600)
+ if (IsDebuggerPresent())
+# endif
+ {
size_t size = 1024;
do {
diff --git a/src/script/script.pro b/src/script/script.pro
index c5d4647..9d4813e 100644
--- a/src/script/script.pro
+++ b/src/script/script.pro
@@ -29,6 +29,14 @@ isEmpty(WEBKITDIR) {
include($$WEBKITDIR/WebKit.pri)
}
+# Windows CE-specific stuff copied from WebCore.pro
+# ### Should rather be in JavaScriptCore.pri?
+wince* {
+ INCLUDEPATH += $$WEBKITDIR/JavaScriptCore/os-wince
+ INCLUDEPATH += $$WEBKITDIR/JavaScriptCore/os-win32
+ LIBS += -lmmtimer
+}
+
include($$WEBKITDIR/JavaScriptCore/JavaScriptCore.pri)
INCLUDEPATH += $$WEBKITDIR/JavaScriptCore