diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-09-20 10:59:07 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-09-20 09:00:43 +0000 |
commit | e7851e24ee7718df74a71a850a6f853e3c3e0e7a (patch) | |
tree | e1fd1a1a41f1398e7c789cf026abd76cbb26ea92 /optional | |
parent | 6eed121d31bd5f37a32af6fad798bf17b203ce99 (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>
Diffstat (limited to 'optional')
-rw-r--r-- | optional/projectexplorer/projectexplorer.pro | 1 |
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 |