From b8d24d0259f4de255d687b5ffaed8e48378d61a1 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 5 Nov 2024 02:06:30 +0100 Subject: [PATCH] win32: Require Windows 10 All versions older than Windows 10 are out of support and no longer receive updates, so we do not want to support them. We also want to move towards APIs that requires Windows 10 - like Direct3D 12 - and not having them optional simplifies our code. See the discussion in !7895 for more details. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index a87d202421..c410c05fd2 100644 --- a/meson.build +++ b/meson.build @@ -64,7 +64,7 @@ if host_machine.system() == 'windows' add_project_arguments(['-DUNICODE', '-D_UNICODE', '-DCOBJMACROS', - '-D_WIN32_WINNT=_WIN32_WINNT_WIN7'], language: 'c') + '-D_WIN32_WINNT=_WIN32_WINNT_WIN10'], language: 'c') endif # Use debug/optimization flags to determine whether to enable debug or disable