summaryrefslogtreecommitdiff
path: root/src/GvimExt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-15 18:03:32 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-15 18:03:32 +0100
commit3d6d5cc3a417c04d9772596ea83f8e6b41321781 (patch)
treec94cf372d02896acd47f290b0f4a61e0c355a9f3 /src/GvimExt
parent5a46a58eb6e50cb5204909cc2202e3400761263f (diff)
downloadvim-git-3d6d5cc3a417c04d9772596ea83f8e6b41321781.tar.gz
patch 7.4.1095v7.4.1095
Problem: Can't build GvimExt with SDK 7.1. Solution: Support using setenv.bat instead of vcvars32.bat. (Ken Takata)
Diffstat (limited to 'src/GvimExt')
-rw-r--r--src/GvimExt/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GvimExt/Makefile b/src/GvimExt/Makefile
index b45198144..a57840fa1 100644
--- a/src/GvimExt/Makefile
+++ b/src/GvimExt/Makefile
@@ -16,6 +16,9 @@ NODEBUG = 1
# On Windows NT
! ifndef CPU
CPU = i386
+! if !defined(PLATFORM) && defined(TARGET_CPU)
+PLATFORM = $(TARGET_CPU)
+! endif
! ifdef PLATFORM
! if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64")
CPU = AMD64