Permalink
Browse files

patch 8.1.0127: build failure when disabling the session feature

Problem:    Build failure when disabling the session feature. (Pawel Slowik)
Solution:   Adjust #ifdef for vim_chdirfile().
  • Loading branch information...
brammool committed Jun 29, 2018
1 parent 307ac5c commit 7c365fb190225d98af818daf195dc19921fe01ca
Showing with 4 additions and 2 deletions.
  1. +2 −2 src/misc2.c
  2. +2 −0 src/version.c
@@ -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)
/*
@@ -789,6 +789,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
127,
/**/
126,
/**/

0 comments on commit 7c365fb

Please sign in to comment.