summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Lemanissier <eric.lemanissier@gmail.com>2015-07-29 16:11:59 +0200
committerEric Lemanissier <eric.lemanissier@gmail.com>2015-07-30 06:30:26 +0000
commit46159b840cfcfeaea5b1c78d1d0e4fa40d679366 (patch)
tree6164e06d7db34b986c7d763304b4a495fd00588f
parent3477ddc2613f20d6b970cffc47c1ab41995fa8e1 (diff)
downloadqtactiveqt-46159b840cfcfeaea5b1c78d1d0e4fa40d679366.tar.gz
fix build with MinGW header version >= 4.0
Commit 66e1ecc2 broke the compilation with MinGW64 4.0 and above. The work-around for mingw-w64 bug #464 must be applied to all MinGW versions that are affected. Change-Id: Ie6665d076dc1e38e459ae3c9cc51202b4a12e736 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
-rw-r--r--src/activeqt/container/qaxscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activeqt/container/qaxscript.cpp b/src/activeqt/container/qaxscript.cpp
index 81bcb8f..1d1711b 100644
--- a/src/activeqt/container/qaxscript.cpp
+++ b/src/activeqt/container/qaxscript.cpp
@@ -41,7 +41,7 @@
#include "qaxscript.h"
#include "../shared/qaxutils_p.h"
-#if defined(Q_CC_GNU) && __MINGW64_VERSION_MAJOR == 3 && __MINGW64_VERSION_MINOR > 0
+#if defined(Q_CC_GNU) && (__MINGW64_VERSION_MAJOR == 3 && __MINGW64_VERSION_MINOR > 0 || __MINGW64_VERSION_MAJOR >= 4)
// Workaround for mingw-w64 bug #464
// See https://sourceforge.net/p/mingw-w64/bugs/464/
# define _NO_SCRIPT_GUIDS