]> granicus.if.org Git - vim/commitdiff
patch 8.2.0245: MSVC: error message if the auto directory already exists v8.2.0245
authorBram Moolenaar <Bram@vim.org>
Tue, 11 Feb 2020 21:49:18 +0000 (22:49 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 11 Feb 2020 21:49:18 +0000 (22:49 +0100)
Problem:    MSVC: error message if the auto directory already exists.
Solution:   Add "if not exists". (Ken Takata, closes #5620)

src/Make_mvc.mak
src/version.c

index 3e8eae168f2fb8dbe20d9fc26dafa0fb3bb05799..c51f8045a7e3fe39cd8cb07f3ec7b07f3f31b010 100644 (file)
@@ -1584,7 +1584,7 @@ $(OUTDIR)/if_lua.obj: $(OUTDIR) if_lua.c  $(INCL)
        $(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 $@
 
index 2c14352d879dac77c6730deb5a2c7b15ee3e88c2..8e3f20a4833055e0a04fdf0e6f84ddad6ea6e92a 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    245,
 /**/
     244,
 /**/