Update WINVER and _WIN32_WINNT to use Windows 10 SDK values

This allows to see the declarations of the functions new in Windows 8.x and 10
if they're available.
This commit is contained in:
Vadim Zeitlin 2016-02-12 18:58:42 +01:00
parent 4a78ed8bb7
commit d1085c0182

View File

@ -27,7 +27,7 @@
// before including windows.h, define version macros at (currently) maximal
// values because we do all our checks at run-time anyhow
#ifndef WINVER
#define WINVER 0x0600
#define WINVER 0x0603
#endif
// define _WIN32_WINNT and _WIN32_IE to the highest possible values because we
@ -36,7 +36,7 @@
// doesn't want to use APIs only available on later OS versions and had defined
// them to (presumably lower) values
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0600
#define _WIN32_WINNT 0x0603
#endif
#ifndef _WIN32_IE