summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Holzammer <andreas.holzammer@kdab.com>2013-01-23 10:55:02 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-01 13:53:57 +0100
commit74789955e363144418947d7711174083dbd14504 (patch)
tree2731282c81c977c54c1996a5f9495aed20e960b2
parent16fc14aaed2742ecbedd48e7af187dbc18ec1889 (diff)
downloadqtjsbackend-74789955e363144418947d7711174083dbd14504.tar.gz
[V8][WINCE]Add WIN32 definition
The Windows CE compiler does not add WIN32 define, which would be needed. Change-Id: I20ce48b649939511f27d59b9df449c715bb6562b Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
-rw-r--r--src/v8/v8.pri3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/v8/v8.pri b/src/v8/v8.pri
index d0c30f4..3a563ff 100644
--- a/src/v8/v8.pri
+++ b/src/v8/v8.pri
@@ -36,6 +36,9 @@ DEFINES += ENABLE_VMSTATE_TRACKING ENABLE_LOGGING_AND_PROFILING
# Set NOMINMAX, so that the minmax macros are not getting set for the msvc
win*:DEFINES += NOMINMAX
+# Windows CE does not set the WIN32 macro, which is needed for compiling
+wince:DEFINES += WIN32
+
CONFIG(debug, debug|release) {
DEFINES += DEBUG V8_ENABLE_CHECKS OBJECT_PRINT ENABLE_DISASSEMBLER
} else {