mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 7.4.1449
Problem: Build fails with job feature but without channel feature. Solution: Add #ifdef.
This commit is contained in:
parent
c5215e943b
commit
8cc6977a96
@ -7800,6 +7800,7 @@ job_unref(job_T *job)
|
||||
{
|
||||
job_free(job);
|
||||
}
|
||||
# ifdef FEAT_CHANNEL
|
||||
else if (job->jv_channel != NULL)
|
||||
{
|
||||
/* Do remove the link to the channel, otherwise it hangs
|
||||
@ -7808,6 +7809,7 @@ job_unref(job_T *job)
|
||||
channel_unref(job->jv_channel);
|
||||
job->jv_channel = NULL;
|
||||
}
|
||||
# endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -743,6 +743,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1449,
|
||||
/**/
|
||||
1448,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user