anchor.diff:  if "%2"=="" goto :help
   
   if /i not "%1"=="vc14" (
  +	if /i not "%1"=="vc15" (
   		echo Unsupported runtime "%1"
   		goto out_error
  +	)
   )
   
   if /i not "%2"=="x64" (
  
positive.code: set TMPKEY=
  
  rem get vc base dir
  if /i "%PHP_SDK_OS_ARCH%"=="x64" (
  	set TMPKEY=HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\%PHP_SDK_VC:~2%.0\Setup\VC
  ) else (
  	set TMPKEY=HKLM\SOFTWARE\Microsoft\VisualStudio\%PHP_SDK_VC:~2%.0\Setup\VC
  )
  reg query !TMPKEY! /v ProductDir >nul 2>&1
  if errorlevel 1 (
  	echo Couldn't determine VC%PHP_SDK_VC:~2% directory
  	goto out_error;
  )
  for /f "tokens=2*" %%a in ('reg query !TMPKEY! /v ProductDir') do set PHP_SDK_VC_DIR=%%b
  set TMPKEY=
  
  rem get sdk dir
  
negative.code: 
  
  if /i "%PHP_SDK_ARCH%"=="x64" (
  	if /i "%1"=="vc14" (
  		set PHP_SDK_VC_SHELL_CMD="!PHP_SDK_VC_DIR!\vcvarsall.bat" amd64
  	) else (
  		set PHP_SDK_VC_SHELL_CMD="!PHP_SDK_VC_DIR!\Auxiliary\Build\vcvarsall.bat" amd64
  	)
  ) else (
  	if /i "%1"=="vc14" (
  		set PHP_SDK_VC_SHELL_CMD="!PHP_SDK_VC_DIR!\vcvarsall.bat" x86
  	) else (
  		set PHP_SDK_VC_SHELL_CMD="!PHP_SDK_VC_DIR!\Auxiliary\Build\vcvarsall.bat" x86
  	)
  )
  
  rem echo Visual Studio path %PHP_SDK_VC_DIR%
  