在 2023-06-03 18:31, Luca Bacci 写道:
Good idea! The first public release supporting 4080 slots is Win10 19H1. I think that we
should use NTDDI_VERSION as it's the only macro that can differentiate between OS
releases. The Windows SDK contains a few checks for OS releases w/ _WIN32_WINNT (grep for
BTW, some of the erroneous checks were carried over to mingw-w64 headers:
lucab@DESKTOP-LOA8DP2 MSYS /d/mingw-w64/mingw-w64-headers
$ git grep -n _WIN32_WINNT_WIN10_
include/winbase.h:3116:#if _WIN32_WINNT >= _WIN32_WINNT_WIN10_RS1
include/winbase.h:3121:#if _WIN32_WINNT >= _WIN32_WINNT_WIN10_RS3
Good idea! The first public release supporting 4080 slots is Win10 19H1. I
think that we should use NTDDI_VERSION as it's the only macro that can
differentiate between OS releases. The Windows SDK contains a few checks for OS
releases w/ _WIN32_WINNT (grep for "_WIN32_WINNT_WIN10_"), but are act