Permalink
Browse files

patch 8.0.0865: cannot build with channel but without terminal feature

Problem:    Cannot build with channel but without terminal feature.
Solution:   Add #ifdef
  • Loading branch information...
brammool committed Aug 5, 2017
1 parent 78712a7 commit 8456ea80502d5e0d86309a0051a0cf48df586ed4
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/channel.c
  2. +2 −0 src/version.c
View
@@ -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))
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
865,
/**/
864,
/**/

0 comments on commit 8456ea8

Please sign in to comment.