aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-09-20 10:59:07 +0200
committerEike Ziller <eike.ziller@qt.io>2018-09-20 09:00:43 +0000
commite7851e24ee7718df74a71a850a6f853e3c3e0e7a (patch)
treee1fd1a1a41f1398e7c789cf026abd76cbb26ea92
parent6eed121d31bd5f37a32af6fad798bf17b203ce99 (diff)
Fix compile issue with min/max macros on Windows
When compiling the ProjectExplorer bindings. port.h(44): warning C4003: not enough arguments for function-like macro invocation 'max' Change-Id: If0850b928dbf72676e4ceb1bf5c189bbc5e3feef Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--optional/projectexplorer/projectexplorer.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/optional/projectexplorer/projectexplorer.pro b/optional/projectexplorer/projectexplorer.pro
index a60ac99..b998d93 100644
--- a/optional/projectexplorer/projectexplorer.pro
+++ b/optional/projectexplorer/projectexplorer.pro
@@ -18,6 +18,7 @@ QTC_PLUGIN_RECOMMENDS += \
include(../binding/binding.pri)
INCLUDEPATH *= $$IDE_SOURCE_TREE/src/plugins/projectexplorer
+win32: DEFINES += NOMINMAX
# Shiboken binding generation setup