0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.0338: build failure without the channel feature

Problem:    Build failure without the channel feature.
Solution:   Add #ifdef
This commit is contained in:
Bram Moolenaar 2020-03-01 13:01:16 +01:00
parent b54b8e0c86
commit f4f190d821
2 changed files with 6 additions and 0 deletions

View File

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

View File

@ -5227,11 +5227,15 @@ delete_instr(isn_T *isn)
break;
case ISN_PUSHJOB:
#ifdef FEAT_JOB_CHANNEL
job_unref(isn->isn_arg.job);
#endif
break;
case ISN_PUSHCHANNEL:
#ifdef FEAT_JOB_CHANNEL
channel_unref(isn->isn_arg.channel);
#endif
break;
case ISN_UCALL: