On 11/02/2021 17:17, Eli Zaretskii wrote: >> From: John David Gressett <jdgre****@hotma*****> >> Date: Thu, 11 Feb 2021 17:07:13 +0000 >> >>> P.S. I also think we need to add a value of _WIN32_WINNT that >>> corresponds to Windows 10, our current values seem to stop****@8*****. >> >> Microsoft does publicly document the Windows 10 value for >> _WIN32_WINNT but they do it by displaying a section of the >> appropriate header source code, with no mention of the >> restrictions that are placed on use of the header file contents. > > If you mean this: > > https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-160 > > Then that's not my reading of it, because it begins with only the > value for Windows 10, without any reference to MSVC header files. And > this page: > > https://docs.microsoft.com/en-us/windows/win32/winprog/using-the-windows-headers > > shows the values in a way that doesn't bind them to any particular > MSVC header file. > > And that's even before we consider the fact that the value is > available in quite a few free software implementations, and we can > take it from there instead. > > So I don't think I see the problem that bothers you. I don't, either. Both of the above references are to Microsoft's *public* documentation, so I would happily accept any patch for our <sdkddkver.h>, which is based on either. That Microsoft have chosen, in one of them, to express the value assignments to manifest constant names in the form of C "#define" statements is immaterial; the effect is no different from a name-to-value tabulated mapping. -- Regards, Keith. Public key available from keys.gnupg.net Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20210211/8136e134/attachment.sig>