Skip to content
Permalink
Browse files
Merge pull request #9048 from shuffle2/msvc-version
require msvc 19.27.29111 and Windows SDK 10.0.19041
  • Loading branch information
leoetlino committed Oct 20, 2020
2 parents 2e86e1a + 31cddb4 commit 96cb278
Showing 1 changed file with 21 additions and 6 deletions.
@@ -2,6 +2,27 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.

#ifdef _WIN32

#define STRINGIFY_HELPER(x) #x
#define STRINGIFY(x) STRINGIFY_HELPER(x)

#if defined _MSC_FULL_VER && _MSC_FULL_VER < 192729111
#pragma message("Current _MSC_FULL_VER: " STRINGIFY(_MSC_FULL_VER))
#error Please update your build environment to the latest Visual Studio 2019!
#endif

#include <sdkddkver.h>
#ifndef NTDDI_WIN10_VB
#pragma message("Current WDK_NTDDI_VERSION: " STRINGIFY(WDK_NTDDI_VERSION))
#error Windows 10.0.19041 SDK or later is required
#endif

#undef STRINGIFY
#undef STRINGIFY_HELPER

#endif

#include <algorithm>
#include <array>
#include <assert.h>
@@ -66,13 +87,7 @@
#include <vector>

#ifdef _WIN32

#if _MSC_FULL_VER < 191426433
#error Please update your build environment to the latest Visual Studio 2017!
#endif

#include <Windows.h>

#endif

#include "Common/Common.h"

1 comment on commit 96cb278

@Stevoisiak
Copy link
Contributor

@Stevoisiak Stevoisiak commented on 96cb278 Dec 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was Windows SDK 10.0.19041 made mandatory?

Nevermind, found my answer.

Please sign in to comment.