From ab3d0b73f799bfaaa018a3350a246a11c6a52feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Mon, 1 May 2023 18:54:02 +0200 Subject: [PATCH] build: bump minimal Windows version to 10 --- README.md | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cb25098b48..8f1caf5fe8 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Releases can be found on the [release list][releases]. ## System requirements - A not too ancient Linux (usually, only the latest releases of distributions - are actively supported), Windows 10 or later, or macOS 10.15 or later. + are actively supported), Windows 10 1607 or later, or macOS 10.15 or later. - A somewhat capable CPU. Hardware decoding might help if the CPU is too slow to decode video in realtime, but must be explicitly enabled with the `--hwdec` option. diff --git a/meson.build b/meson.build index 3da216db48..81721b2d93 100644 --- a/meson.build +++ b/meson.build @@ -307,7 +307,7 @@ features += {'darwin': darwin} features += {'posix': posix} features += {'dos-paths': win32, 'win32': win32} -mswin_flags = ['-D_WIN32_WINNT=0x0602', '-DWINVER=0x0602', '-DUNICODE', +mswin_flags = ['-D_WIN32_WINNT=0x0A00', '-DWINVER=0x0A00', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-DNOMINMAX', '-D_USE_MATH_DEFINES', '-DWIN32_LEAN_AND_MEAN', '-D_CRT_DECLARE_NONSTDC_NAMES', '-D_CRT_NONSTDC_NO_WARNINGS',