[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 authored and Geoffrey McRae committed 2021-07-20 11:32:15 +10:00
1 parent 56833edae7
commit 323d321a77
1 file changed
+1 -1
+1 -1
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")