summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri b/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri
index b061321..3b83ac6 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri
@@ -45,6 +45,8 @@ INCLUDEPATH = \
DEFINES += BUILDING_QT__ BUILDING_JavaScriptCore BUILDING_WTF
win32-* {
+# Prevent definition of min, max macros in windows.h
+ DEFINES+=NOMINMAX
LIBS += -lwinmm
}
contains(JAVASCRIPTCORE_JIT,yes) {