Fix Windows build of Python for latest WinSDK. (GH-6874)
This commit is contained in:
parent
631753fcc5
commit
c0ee341b29
|
@ -21,7 +21,7 @@
|
|||
#endif /* HAVE_SYS_STAT_H */
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
#include <consoleapi.h>
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
/* Various interned strings */
|
||||
|
|
|
@ -77,7 +77,8 @@
|
|||
-->
|
||||
<_RegistryVersion>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</_RegistryVersion>
|
||||
<_RegistryVersion Condition="$(_RegistryVersion) == ''">$(Registry:HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</_RegistryVersion>
|
||||
<DefaultWindowsSDKVersion>10.0.16299.0</DefaultWindowsSDKVersion>
|
||||
<DefaultWindowsSDKVersion>10.0.17134.0</DefaultWindowsSDKVersion>
|
||||
<DefaultWindowsSDKVersion Condition="$(_RegistryVersion) == '10.0.16299'">10.0.16299.0</DefaultWindowsSDKVersion>
|
||||
<DefaultWindowsSDKVersion Condition="$(_RegistryVersion) == '10.0.15063'">10.0.15063.0</DefaultWindowsSDKVersion>
|
||||
<DefaultWindowsSDKVersion Condition="$(_RegistryVersion) == '10.0.14393'">10.0.14393.0</DefaultWindowsSDKVersion>
|
||||
<DefaultWindowsSDKVersion Condition="$(_RegistryVersion) == '10.0.10586'">10.0.10586.0</DefaultWindowsSDKVersion>
|
||||
|
|
Loading…
Reference in New Issue