build: bump minimal Windows version to 10

This commit is contained in:
Kacper Michajłow 2023-05-01 18:54:02 +02:00
parent e17b5c635e
commit ab3d0b73f7
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ Releases can be found on the [release list][releases].
## System requirements ## System requirements
- A not too ancient Linux (usually, only the latest releases of distributions - 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 - 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` decode video in realtime, but must be explicitly enabled with the `--hwdec`
option. option.

View File

@ -307,7 +307,7 @@ features += {'darwin': darwin}
features += {'posix': posix} features += {'posix': posix}
features += {'dos-paths': win32, 'win32': win32} 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', '-DCOBJMACROS', '-DINITGUID', '-DNOMINMAX',
'-D_USE_MATH_DEFINES', '-DWIN32_LEAN_AND_MEAN', '-D_USE_MATH_DEFINES', '-DWIN32_LEAN_AND_MEAN',
'-D_CRT_DECLARE_NONSTDC_NAMES', '-D_CRT_NONSTDC_NO_WARNINGS', '-D_CRT_DECLARE_NONSTDC_NAMES', '-D_CRT_NONSTDC_NO_WARNINGS',