[host] windows: correctly declare WINVER and _WIN32_WINNT

We wanted to target Windows Vista, which is 0x0600 not 0x6000.
0x6000 is in fact larger than Windows 10 which is 0x0a00.
This commit is contained in:
Quantum 2021-07-19 19:35:22 -04:00 committed by Geoffrey McRae
parent 56833edae7
commit 323d321a77

View File

@ -15,7 +15,7 @@ add_library(platform_Windows STATIC
)
# allow use of functions for Windows Vista or later
add_definitions(-D _WIN32_WINNT=0x6000)
add_compile_definitions(WINVER=0x0600 _WIN32_WINNT=0x0600)
add_subdirectory("capture")