From 7136aee666e89a1a2b6ed7fc64dc7e4a48353d4d Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Mon, 17 Aug 2009 18:55:23 +0200 Subject: Build on Windows CE --- src/3rdparty/webkit/JavaScriptCore/wtf/Assertions.cpp | 5 ++++- src/script/script.pro | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) 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 -- cgit v0.12