summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-01-07 15:46:10 +0100
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-01-07 15:46:40 +0100
commiteba0757fb0376728ece170b4c7a23d0359b4a8ed (patch)
treedec2d7db3b109746748054c0746d9515bc83e8f5
parentf91b1fe60c1d5c374042dd2933ed10328de4504f (diff)
Another try to compile on mingw.
Change-Id: I354564e5dcd6cd0c342f19cf8e2a88a91a8974ab Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
-rw-r--r--src/libs/installer/sysinfo_win.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libs/installer/sysinfo_win.cpp b/src/libs/installer/sysinfo_win.cpp
index 28fcd621f..8b14d1567 100644
--- a/src/libs/installer/sysinfo_win.cpp
+++ b/src/libs/installer/sysinfo_win.cpp
@@ -42,6 +42,12 @@
#include "kdsysinfo.h"
#include "link.h"
+#ifdef Q_CC_MINGW
+# ifndef _WIN32_WINNT
+# define _WIN32_WINNT 0x0501
+# endif
+#endif
+
#include <qt_windows.h>
#include <psapi.h>
#include <tlhelp32.h>