]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.1.1257: MSVC: name of object directory now always right v8.1.1257
authorBram Moolenaar <Bram@vim.org>
Fri, 3 May 2019 20:15:03 +0000 (22:15 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 3 May 2019 20:15:03 +0000 (22:15 +0200)
Problem:    MSVC: name of object directory now always right.
Solution:   Adjust comment.  Don't use different directory for DIRECTX.  Do
            use different directory for USE_MSVCRT. (Ken Takata, closes #4333)

src/Make_mvc.mak
src/version.c

index 07ebb75592a177b7e4a70b1c40ab2f411c9865cf..2bbbb47829c6968bc8c75d5b3837a77303e394e2 100644 (file)
@@ -192,8 +192,7 @@ GUI = yes
 DIRECTX = $(GUI)
 !endif
 
-# Select one of eight object code directories, depends on GUI, OLE, DEBUG and
-# interfaces.
+# Select a code directory, depends on GUI, OLE, DEBUG, interfaces and etc.
 # If you change something else, do "make clean" first!
 !if "$(VIMDLL)" == "yes"
 OBJDIR = .\ObjD
@@ -202,7 +201,7 @@ OBJDIR = .\ObjG
 !else
 OBJDIR = .\ObjC
 !endif
-!if "$(DIRECTX)" == "yes"
+!if "$(DIRECTX)" == "yes" && "$(GUI)" == "yes"
 OBJDIR = $(OBJDIR)X
 !endif
 !if "$(OLE)" == "yes"
@@ -229,6 +228,9 @@ OBJDIR = $(OBJDIR)R
 !ifdef MZSCHEME
 OBJDIR = $(OBJDIR)Z
 !endif
+!ifdef USE_MSVCRT
+OBJDIR = $(OBJDIR)V
+!endif
 !if "$(DEBUG)" == "yes"
 OBJDIR = $(OBJDIR)d
 !endif
index 35ef1ae7cc9159f2c99e80db622c5ddc6b37458e..e5582e99e74bef1c9d0dcab80d89481852d6bd2e 100644 (file)
@@ -767,6 +767,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1257,
 /**/
     1256,
 /**/