forked from aniani/vim
patch 9.0.0857: selecting MSVC 2017 does not set $PLATFORM
Problem: Selecting MSVC 2017 does not set $PLATFORM. Solution: Use $VSCMD_ARG_TGT_ARCH. (Ken Takata, closes #11485)
This commit is contained in:
parent
d55bfcaa9b
commit
37f1030fd6
@ -222,8 +222,12 @@ CPU = i386
|
||||
! endif
|
||||
! else # !CPU
|
||||
CPU = i386
|
||||
! if !defined(PLATFORM) && defined(TARGET_CPU)
|
||||
! ifndef PLATFORM
|
||||
! ifdef TARGET_CPU
|
||||
PLATFORM = $(TARGET_CPU)
|
||||
! elseif defined(VSCMD_ARG_TGT_ARCH)
|
||||
PLATFORM = $(VSCMD_ARG_TGT_ARCH)
|
||||
! endif
|
||||
! endif
|
||||
! ifdef PLATFORM
|
||||
! if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64")
|
||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
857,
|
||||
/**/
|
||||
856,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user