From 16fc14aaed2742ecbedd48e7af187dbc18ec1889 Mon Sep 17 00:00:00 2001 From: Andreas Holzammer Date: Fri, 18 Jan 2013 11:23:41 +0100 Subject: [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 Reviewed-by: Peter Varga Reviewed-by: Janne Anttila --- src/v8/v8.pri | 3 +++ 1 file changed, 3 insertions(+) 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 { -- cgit v1.2.1