Skip to content

Commit 7c365fb

Browse files
committed
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().
1 parent 307ac5c commit 7c365fb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/misc2.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3381,8 +3381,8 @@ same_directory(char_u *f1, char_u *f2)
33813381
&& pathcmp((char *)ffname, (char *)f2, (int)(t1 - ffname)) == 0);
33823382
}
33833383

3384-
#if defined(FEAT_SESSION) || defined(MSWIN) || defined(FEAT_GUI_MAC) \
3385-
|| defined(FEAT_GUI_GTK) \
3384+
#if defined(FEAT_SESSION) || defined(FEAT_AUTOCHDIR) \
3385+
|| defined(MSWIN) || defined(FEAT_GUI_MAC) || defined(FEAT_GUI_GTK) \
33863386
|| defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG) \
33873387
|| defined(PROTO)
33883388
/*

src/version.c

+2
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,8 @@ static char *(features[]) =
789789

790790
static int included_patches[] =
791791
{ /* Add new patch number below this line */
792+
/**/
793+
127,
792794
/**/
793795
126,
794796
/**/

0 commit comments

Comments
 (0)