Merge pull request #10717 from shuffle2/vs17.2.3

msvc: update to vs 17.2.3
This commit is contained in:
Mai M
2022-06-02 20:18:33 -04:00
committed by GitHub
3 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,6 @@ if(CMAKE_SYSTEM_NAME MATCHES "Windows")
add_definitions(-DUNICODE)
add_definitions(-D_UNICODE)
add_definitions(-DWIN32_LEAN_AND_MEAN)
add_definitions(-D_WIN32_WINNT=0x0602)
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)

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 < 193231328
#if defined _MSC_FULL_VER && _MSC_FULL_VER < 193231329
#pragma message("Current _MSC_FULL_VER: " STRINGIFY(_MSC_FULL_VER))
#error Please update your build environment to the latest Visual Studio 2022!
#endif
#include <sdkddkver.h>
#ifndef NTDDI_WIN10_CO
#ifndef NTDDI_WIN10_NI
#pragma message("Current WDK_NTDDI_VERSION: " STRINGIFY(WDK_NTDDI_VERSION))
#error Windows 10.0.22000 SDK or later is required
#error Windows 10.0.22621 SDK or later is required
#endif
#undef STRINGIFY