Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Commit f9ad5ba

Browse files
committedJun 5, 2018
Change _WIN32_WINNT to Vista.
This is the default for the SDK we use. Not sure if we should set it at all...
1 parent d3a6e56 commit f9ad5ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎cmake/EthCompilerSettings.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
2525

2626
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
2727

28-
# declare Windows XP requirement
28+
# declare Windows Vista requirement
2929
# undefine windows.h MAX & MIN macros because they conflict with std::min & std::max functions
3030
# disable unsafe CRT Library functions warnings
31-
add_definitions(/D_WIN32_WINNT=0x0501 /DNOMINMAX /D_CRT_SECURE_NO_WARNINGS)
31+
add_definitions(/D_WIN32_WINNT=0x0600 /DNOMINMAX /D_CRT_SECURE_NO_WARNINGS)
3232

3333
# enable parallel compilation
3434
# specify Exception Handling Model

0 commit comments

Comments
 (0)
This repository has been archived.