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:
@@ -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)
|
||||||
/*
|
/*
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user