Mercurial > vim
changeset 11969:5dc3730de58d v8.0.0865
patch 8.0.0865: cannot build with channel but without terminal feature
commit https://github.com/vim/vim/commit/8456ea80502d5e0d86309a0051a0cf48df586ed4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 5 15:02:05 2017 +0200
patch 8.0.0865: cannot build with channel but without terminal feature
Problem: Cannot build with channel but without terminal feature.
Solution: Add #ifdef
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 05 Aug 2017 15:15:04 +0200 |
parents | cf969ff17a2d |
children | 938a1e4f79d2 |
files | src/channel.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/channel.c +++ b/src/channel.c @@ -4391,6 +4391,7 @@ get_job_options(typval_T *tv, jobopt_T * return FAIL; } } +#ifdef FEAT_TERMINAL else if (STRCMP(hi->hi_key, "term_name") == 0) { if (!(supported & JO2_TERM_NAME)) @@ -4403,6 +4404,7 @@ get_job_options(typval_T *tv, jobopt_T * return FAIL; } } +#endif else if (STRCMP(hi->hi_key, "waittime") == 0) { if (!(supported & JO_WAITTIME))