0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.0865: cannot build with channel but without terminal feature

Problem:    Cannot build with channel but without terminal feature.
Solution:   Add #ifdef
This commit is contained in:
Bram Moolenaar
2017-08-05 15:02:05 +02:00
parent 78712a7733
commit 8456ea8050
2 changed files with 4 additions and 0 deletions

View File

@@ -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 File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
865,
/**/
864,
/**/