From: Bram Moolenaar Date: Fri, 29 Jun 2018 18:28:31 +0000 (+0200) Subject: patch 8.1.0127: build failure when disabling the session feature X-Git-Tag: v8.1.0127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c365fb190225d98af818daf195dc19921fe01ca;p=thirdparty%2Fvim.git 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(). --- diff --git a/src/misc2.c b/src/misc2.c index e5b6781583..4a4908c199 100644 --- a/src/misc2.c +++ b/src/misc2.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) /* diff --git a/src/version.c b/src/version.c index 4e3770e44e..72e85473c4 100644 --- a/src/version.c +++ b/src/version.c @@ -789,6 +789,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 127, /**/ 126, /**/