summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>