Windows: Remove explicit usage of _WIN32_WINNT and WINVER macros

The are set in a central place, in the precompile header file.
Or as DEFAULT_DEFINES when the precompile header file is not used.

Change-Id: Ie020f916b64eabcd5a8153f4be5474986f5afed5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2019-10-23 09:26:31 +02:00
parent 479def8190
commit 6c25049019
11 changed files with 34 additions and 42 deletions

View File

@@ -45,10 +45,6 @@
#endif
#ifdef Q_OS_WIN
// We need defines for Windows 8
#undef _WIN32_WINNT
#define _WIN32_WINNT _WIN32_WINNT_WIN8
#include <qt_windows.h>
#include <shlobj.h>
#endif