Skip to content

Commit

Permalink
Merge pull request #10717 from shuffle2/vs17.2.3
Browse files Browse the repository at this point in the history
msvc: update to vs 17.2.3
  • Loading branch information
lioncash committed Jun 3, 2022
2 parents 0fc1fb0 + f11b6bb commit 5808a0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Dolphin can only be installed on devices that satisfy the above requirements. At
## Building for Windows

Use the solution file `Source/dolphin-emu.sln` to build Dolphin on Windows.
Visual Studio 2022 17.2 or later is a hard requirement. Other compilers might be
Visual Studio 2022 17.2.3 or later is a hard requirement. Other compilers might be
able to build Dolphin on Windows but have not been tested and are not
recommended to be used. Git and Windows 11 SDK must be installed when building.

Expand Down
1 change: 0 additions & 1 deletion Source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions Source/PCH/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5808a0b

Please sign in to comment.