aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-02-08 17:37:15 +0100
committerGitHub <noreply@github.com>2023-02-08 17:37:15 +0100
commitf4c836ad704045434f56498a0ceea4c7e705ab07 (patch)
tree84f4e888d0e2effe9a3998e34acd36bca93dc684
parent0fc9a232e09d1b246b2d6bb5b862e63aa623e825 (diff)
downloadrneovim-f4c836ad704045434f56498a0ceea4c7e705ab07.tar.gz
rneovim-f4c836ad704045434f56498a0ceea4c7e705ab07.tar.bz2
rneovim-f4c836ad704045434f56498a0ceea4c7e705ab07.zip
build(windows): specify Windows 8 as the minimum version (#22173)
This will allow MSVC to use newer features not available in Vista and Windows 7.
-rwxr-xr-xsrc/nvim/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index 5e5634ba77..90b17492bf 100755
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -135,8 +135,7 @@ if(MINGW)
target_compile_definitions(main_lib INTERFACE __USE_MINGW_ANSI_STDIO)
endif()
if(WIN32)
- # Windows Vista is the minimum supported version
- target_compile_definitions(main_lib INTERFACE _WIN32_WINNT=0x0600 MSWIN)
+ target_compile_definitions(main_lib INTERFACE _WIN32_WINNT=0x0602 MSWIN)
endif()
# OpenBSD's GCC (4.2.1) doesn't have -Wvla