Commit 16fd2cbb authored by Kai Koehne's avatar Kai Koehne

MinGW: Fix warning about _WIN32_WINNT being redefined

Change-Id: Ia097316b1eb16fbb0868f8b3f42e0ad5892f4573
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 2e2f3343
......@@ -31,6 +31,7 @@
#include "qtcassert.h"
// Enable WinAPI Windows XP and later
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#include <windows.h>
......
......@@ -43,6 +43,7 @@ static inline QString msgCannotInterrupt(int pid, const QString &why)
#if defined(Q_OS_WIN)
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0501 /* WinXP, needed for DebugBreakProcess() */
#include <utils/winutils.h>
......
......@@ -34,6 +34,7 @@
#include <QTextStream>
// Enable Win API of XP SP1 and later
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0502
#include <windows.h>
#include <utils/winutils.h>
......
......@@ -45,6 +45,7 @@
#ifdef Q_OS_WIN
// Enable Win API of XP SP1 and later
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0502
#include <windows.h>
#include <utils/winutils.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment