diff options
author | Andreas Holzammer <andreas.holzammer@kdab.com> | 2013-01-18 11:23:41 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-01 13:53:51 +0100 |
commit | 16fc14aaed2742ecbedd48e7af187dbc18ec1889 (patch) | |
tree | 1d1755985dba0de42517c0dff051c329ccd0b3c1 /src/v8/v8.pri | |
parent | 2a1d7cab3d02f0a099756b2d8e168cc1c64ef577 (diff) | |
download | qtjsbackend-16fc14aaed2742ecbedd48e7af187dbc18ec1889.tar.gz |
[V8][WINCE]Define NOMINMAX in V8 pri file
Due to some include header orderings the NOMINMAX
gets defined too late for Windows CE. So set
this from compiler call.
Change-Id: I755309e254e97809860484cf0543221d233d8cc2
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Diffstat (limited to 'src/v8/v8.pri')
-rw-r--r-- | src/v8/v8.pri | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/v8/v8.pri b/src/v8/v8.pri index f207458..d0c30f4 100644 --- a/src/v8/v8.pri +++ b/src/v8/v8.pri @@ -33,6 +33,9 @@ DEFINES += ENABLE_DEBUGGER_SUPPORT # this is needed by crankshaft ( http://code.google.com/p/v8/issues/detail?id=1271 ) 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 + CONFIG(debug, debug|release) { DEFINES += DEBUG V8_ENABLE_CHECKS OBJECT_PRINT ENABLE_DISASSEMBLER } else { |