From 8456ea80502d5e0d86309a0051a0cf48df586ed4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 5 Aug 2017 15:02:05 +0200 Subject: [PATCH] patch 8.0.0865: cannot build with channel but without terminal feature Problem: Cannot build with channel but without terminal feature. Solution: Add #ifdef --- src/channel.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) 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, /**/ -- 2.50.1