mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -738,6 +738,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
338,
|
||||
/**/
|
||||
337,
|
||||
/**/
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user