msvc: update to vs2022 and windows sdk 10.0.22000

This commit is contained in:
Shawn Hoffman
2021-11-11 01:44:40 -08:00
parent aa6db1e029
commit 4008188654
6 changed files with 11 additions and 12 deletions

View File

@ -6,15 +6,15 @@
#define STRINGIFY_HELPER(x) #x
#define STRINGIFY(x) STRINGIFY_HELPER(x)
#if defined _MSC_FULL_VER && _MSC_FULL_VER < 192930133
#if defined _MSC_FULL_VER && _MSC_FULL_VER < 193030705
#pragma message("Current _MSC_FULL_VER: " STRINGIFY(_MSC_FULL_VER))
#error Please update your build environment to the latest Visual Studio 2019!
#error Please update your build environment to the latest Visual Studio 2022!
#endif
#include <sdkddkver.h>
#ifndef NTDDI_WIN10_VB
#ifndef NTDDI_WIN10_CO
#pragma message("Current WDK_NTDDI_VERSION: " STRINGIFY(WDK_NTDDI_VERSION))
#error Windows 10.0.19041 SDK or later is required
#error Windows 10.0.22000 SDK or later is required
#endif
#undef STRINGIFY