]> granicus.if.org Git - vim/commitdiff
patch 8.1.0127: build failure when disabling the session feature v8.1.0127
authorBram Moolenaar <Bram@vim.org>
Fri, 29 Jun 2018 18:28:31 +0000 (20:28 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 29 Jun 2018 18:28:31 +0000 (20:28 +0200)
Problem:    Build failure when disabling the session feature. (Pawel Slowik)
Solution:   Adjust #ifdef for vim_chdirfile().

src/misc2.c
src/version.c

index e5b678158387615308975340ee5f0cfec9be56e6..4a4908c199a4824095849ff1a4fcffaafdc9422c 100644 (file)
@@ -3381,8 +3381,8 @@ same_directory(char_u *f1, char_u *f2)
             && pathcmp((char *)ffname, (char *)f2, (int)(t1 - ffname)) == 0);
 }
 
-#if defined(FEAT_SESSION) || defined(MSWIN) || defined(FEAT_GUI_MAC) \
-       || defined(FEAT_GUI_GTK) \
+#if defined(FEAT_SESSION) || defined(FEAT_AUTOCHDIR) \
+       || defined(MSWIN) || defined(FEAT_GUI_MAC) || defined(FEAT_GUI_GTK) \
        || defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG) \
        || defined(PROTO)
 /*
index 4e3770e44e15f0125e83957602a3a5e25c7c0129..72e85473c40822c4e6619934200d818d6c0e1301 100644 (file)
@@ -789,6 +789,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    127,
 /**/
     126,
 /**/