summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/sysinfo_win.cpp
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-01-07 13:27:38 +0100
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-01-07 14:19:30 +0100
commitb111112b372008a5370b2fd0361fbbc55df31b09 (patch)
treeea00ff93cc1ba74bd3db00406f3964cc17d40391 /src/libs/installer/sysinfo_win.cpp
parent08701a6962aec6385daf6e00408ee877913e02c4 (diff)
Use qt_windows.h.
Fixes NOMINMAX and mingw missing _WIN32_WINNT define. Change-Id: I28ea6f328b495033d484fa07181062dc92f0855f Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'src/libs/installer/sysinfo_win.cpp')
-rw-r--r--src/libs/installer/sysinfo_win.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/libs/installer/sysinfo_win.cpp b/src/libs/installer/sysinfo_win.cpp
index 618d6cfdb..8e02b9e70 100644
--- a/src/libs/installer/sysinfo_win.cpp
+++ b/src/libs/installer/sysinfo_win.cpp
@@ -40,19 +40,11 @@
**************************************************************************/
#include "kdsysinfo.h"
-
#include "link.h"
-#ifdef Q_CC_MINGW
-# ifndef _WIN32_WINNT
-# define _WIN32_WINNT 0x0501
-# endif
-#endif
-
-#include <windows.h>
+#include <qt_windows.h>
#include <psapi.h>
#include <tlhelp32.h>
-
#include <winnetwk.h>
#ifndef Q_CC_MINGW