Mercurial > vim
changeset 14220:96e4c6b26998 v8.1.0127
patch 8.1.0127: build failure when disabling the session feature
commit https://github.com/vim/vim/commit/7c365fb190225d98af818daf195dc19921fe01ca
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 29 20:28:31 2018 +0200
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().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Jun 2018 20:30:06 +0200 |
parents | 8a60fc26fdf0 |
children | 21a68013cae2 |
files | src/misc2.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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) /*