From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 17 May 2018 19:35:27 +0000 (-0700) Subject: Fix Windows build of Python for latest WinSDK. (GH-6874) (GH-6952) X-Git-Tag: v3.7.0b5~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df4852cbe4b757e8b79506d73a09ec8a1b595970;p=python Fix Windows build of Python for latest WinSDK. (GH-6874) (GH-6952) (cherry picked from commit c0ee341b29bd7d978b49272a2c0e2dcfa77404d5) Co-authored-by: Carl Meyer --- diff --git a/Modules/_io/_iomodule.c b/Modules/_io/_iomodule.c index 11d7b01883..667446526a 100644 --- a/Modules/_io/_iomodule.c +++ b/Modules/_io/_iomodule.c @@ -21,7 +21,7 @@ #endif /* HAVE_SYS_STAT_H */ #ifdef MS_WINDOWS -#include +#include #endif /* Various interned strings */ diff --git a/PCbuild/python.props b/PCbuild/python.props index f7adaf47db..fc0b6618ca 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -77,7 +77,8 @@ --> <_RegistryVersion>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion) <_RegistryVersion Condition="$(_RegistryVersion) == ''">$(Registry:HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion) - 10.0.16299.0 + 10.0.17134.0 + 10.0.16299.0 10.0.15063.0 10.0.14393.0 10.0.10586.0