changeset 19374:f123c6732cf3 v8.2.0245

patch 8.2.0245: MSVC: error message if the auto directory already exists Commit: https://github.com/vim/vim/commit/5489eab34528ba31054bc7c99af120b07f543b78 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 11 22:49:18 2020 +0100 patch 8.2.0245: MSVC: error message if the auto directory already exists Problem: MSVC: error message if the auto directory already exists. Solution: Add "if not exists". (Ken Takata, closes https://github.com/vim/vim/issues/5620)
author Bram Moolenaar <Bram@vim.org>
date Tue, 11 Feb 2020 23:00:04 +0100
parents 47e90f6458de
children 033a5bb0b64b
files src/Make_mvc.mak src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -1584,7 +1584,7 @@ testclean:
 	$(CC) $(CFLAGS_OUTDIR) $(LUA_INC) if_lua.c
 
 auto/if_perl.c : if_perl.xs typemap
-	-mkdir auto
+	-if not exist auto/nul mkdir auto
 	$(XSUBPP) -prototypes -typemap $(XSUBPP_TYPEMAP) \
 		-typemap typemap if_perl.xs -output $@
 
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    245,
+/**/
     244,
 /**/
     243,