From 5489eab34528ba31054bc7c99af120b07f543b78 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 11 Feb 2020 22:49:18 +0100 Subject: 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 #5620) --- src/Make_mvc.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Make_mvc.mak') diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index 3e8eae168f..c51f8045a7 100644 --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -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 $@ -- cgit v1.2.3