From: Bram Moolenaar Date: Sat, 5 Aug 2017 13:02:05 +0000 (+0200) Subject: patch 8.0.0865: cannot build with channel but without terminal feature X-Git-Tag: v8.0.0865 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8456ea80502d5e0d86309a0051a0cf48df586ed4;p=vim 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 index 801e370cc..9d791a905 100644 --- a/src/channel.c +++ b/src/channel.c @@ -4391,6 +4391,7 @@ get_job_options(typval_T *tv, jobopt_T *opt, int supported) 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 *opt, int supported) 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 index 931874096..bbbdbe38f 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 865, /**/ 864, /**/