0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

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().
This commit is contained in:
Bram Moolenaar
2018-06-29 20:28:31 +02:00
parent 307ac5c68e
commit 7c365fb190
2 changed files with 4 additions and 2 deletions

View File

@@ -3381,8 +3381,8 @@ same_directory(char_u *f1, char_u *f2)
&& pathcmp((char *)ffname, (char *)f2, (int)(t1 - ffname)) == 0); && pathcmp((char *)ffname, (char *)f2, (int)(t1 - ffname)) == 0);
} }
#if defined(FEAT_SESSION) || defined(MSWIN) || defined(FEAT_GUI_MAC) \ #if defined(FEAT_SESSION) || defined(FEAT_AUTOCHDIR) \
|| defined(FEAT_GUI_GTK) \ || defined(MSWIN) || defined(FEAT_GUI_MAC) || defined(FEAT_GUI_GTK) \
|| defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG) \ || defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG) \
|| defined(PROTO) || defined(PROTO)
/* /*

View File

@@ -789,6 +789,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
127,
/**/ /**/
126, 126,
/**/ /**/