anchor.diff:  :# Find New-style Windows Kits
   :FindWkIn %1=Base directory to search in
   %ECHO.D% :# Searching in "%~1"
  -for /d %%l in ("%~1\Lib" "%~1\Lib\*") do if exist "%%~l\um\!WINSDKPROC!\kernel32.lib" (
  +set "WINSDK_LIB="
  +:# Search for the latest Windows kit, as multiple builds may be installed in parallel
  +for /d %%l in ("%~1\Lib" "%~1\Lib\*") do if exist "%%~l\um\!WINSDKPROC!\kernel32.lib" set "WINSDK_LIB=%%l"
  +if defined WINSDK_LIB for %%l in ("%WINSDK_LIB%") do (
     %ECHO.D% :# Found
     set "WINSDK=%~1"
  +  set "WINSDK_VER=%%~nxl"
     set "WINSDK_LIBDIR=%%~l\um\!WINSDKPROC!"
     set "WINSDK_BIN=!WINSDK!\Bin\!WINSDKPROC!"
     set "WINSDK_INCDIR="
     set "WINSDK_INCLUDE="
  -  for /d %%d in ("!WINSDK!\Include" "!WINSDK!\Include\*") do ( :# Pre-release kits have an additional subdir level
  +  for /d %%d in ("!WINSDK!\Include" "!WINSDK!\Include\!WINSDK_VER!") do ( :# Pre-release kits have an additional subdir level
       if exist "%%~d\um\windows.h" (
         set "WINSDK_INCDIR=%%~d"
         for %%s in (ucrt shared um winrt) do (
  
positive.code: set "%VC%.CRTINC=" &:# Path of MSVC CRT library include files, for use by MsvcLibX
  if exist "!%VC%.INCPATH!\stdio.h" set "%VC%.CRTINC=!%VC%.VCINC!" &:# Up to VS2013 it's in VC, then it's in Windows Kit UCRT
  SET "%VC%.LIBPATH=!%VC%!\lib\%PROC%"
  if /i %PROC%==x86 if not exist "!%VC%.LIBPATH!\kernel32.lib" SET "%VC%.LIBPATH=!%VC%!\lib"
  
  :# Windows SDK tools
  set TRYDIRS="!%VS%.IDE!" &:# Tools location for Visual Studio 6
  
negative.code: :#   2017-03-01 JFL Added variable IGNORE_NMAKEFILE for dealing with unwanted *
  :#                  NMakefile homonyms.                                       *
  :#   2017-03-05 JFL Added variable LOGDIR to control where to store the log.  *
  :#   2017-03-10 JFL Added support for Visual Studio 2017.		      *
  :#                                                                            *
  :#       Copyright 2016-2017 Hewlett Packard Enterprise Development LP       *
  :# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 *
  :#*****************************************************************************
  
  setlocal EnableExtensions EnableDelayedExpansion
  set "VERSION=2017-03-10"
  set "SCRIPT=%~nx0"				&:# Script name
  set "SPATH=%~dp0" & set "SPATH=!SPATH:~0,-1!"	&:# Script path, without the trailing \
  set  "ARG0=%~f0"				&:# Script full pathname
  