summaryrefslogtreecommitdiff
path: root/src/v8/v8.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/v8/v8.pri')
-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 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 {