diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-10-07 18:38:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-10-07 18:38:43 +0200 |
commit | 73f4439ca690d8224df8f88dc71a43fafdcc89bf (patch) | |
tree | bb00da4d4e9cacd9af4cbdd8cd02e700b066eeb3 /src/xxd | |
parent | 54e5dbf58e16d0d757a315480c9e63ac7f8a74c7 (diff) | |
download | vim-git-73f4439ca690d8224df8f88dc71a43fafdcc89bf.tar.gz |
patch 8.0.1178: using old compiler on MS-Windowsv8.0.1178
Problem: Using old compiler on MS-Windows.
Solution: Switch default build on MS-Windows to use MSVC 2015. (Ken Takata)
Diffstat (limited to 'src/xxd')
-rw-r--r-- | src/xxd/Make_mvc.mak | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/xxd/Make_mvc.mak b/src/xxd/Make_mvc.mak index 3227f0c86..0133d7311 100644 --- a/src/xxd/Make_mvc.mak +++ b/src/xxd/Make_mvc.mak @@ -1,14 +1,19 @@ # The most simplistic Makefile for Win32 using Microsoft Visual C++ # (NT and Windows 95) +SUBSYSTEM = console +!if "$(SUBSYSTEM_VER)" != "" +SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER) +!endif + xxd: xxd.exe xxd.exe: xxd.c - cl /nologo -DWIN32 xxd.c + cl /nologo -DWIN32 xxd.c -link -subsystem:$(SUBSYSTEM) # This was for an older compiler # cl /nologo -DWIN32 xxd.c /link setargv.obj clean: - - if exist xxd.obj del xxd.obj - - if exist xxd.exe del xxd.exe + - if exist xxd.obj del xxd.obj + - if exist xxd.exe del xxd.exe |