build: bump minimal Windows version to 10

This commit is contained in:
Kacper Michajłow committed 2024-07-29 21:38:19 +02:00
1 parent e17b5c635e
commit ab3d0b73f7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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',