From b5e6bc289f48328a6306263e9c460cbd3233c7dd Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 17 Sep 2015 20:40:51 -0400 Subject: Latest appveyor support to fix 3.5 build issue --- ci/run_with_env.cmd | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ci') diff --git a/ci/run_with_env.cmd b/ci/run_with_env.cmd index b287e47..66b9252 100644 --- a/ci/run_with_env.cmd +++ b/ci/run_with_env.cmd @@ -36,6 +36,7 @@ SET COMMAND_TO_RUN=%* SET WIN_SDK_ROOT=C:\Program Files\Microsoft SDKs\Windows +SET WIN_WDK=c:\Program Files (x86)\Windows Kits\10\Include\wdf :: Extract the major and minor versions, and allow for the minor version to be :: more than 9. This requires the version number to have two dots in it. @@ -58,6 +59,10 @@ IF %MAJOR_PYTHON_VERSION% == 2 ( SET SET_SDK_64=Y ) ELSE ( SET SET_SDK_64=N + IF EXIST "%WIN_WDK%" ( + :: See: https://connect.microsoft.com/VisualStudio/feedback/details/1610302/ + REN "%WIN_WDK%" 0wdf + ) ) ) ELSE ( ECHO Unsupported Python version: "%MAJOR_PYTHON_VERSION%" -- cgit v1.2.1