# HG changeset patch # User Christian Brabandt # Date 1501938904 -7200 # Node ID 5dc3730de58d3c74a5ef9ecccf744099a1429148 # Parent cf969ff17a2ddac84cd4b894776b45c346528bf2 patch 8.0.0865: cannot build with channel but without terminal feature commit https://github.com/vim/vim/commit/8456ea80502d5e0d86309a0051a0cf48df586ed4 Author: Bram Moolenaar 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 diff --git a/src/channel.c b/src/channel.c --- 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)) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 865, +/**/ 864, /**/ 863,