Skip to content

Commit 8cc6977

Browse files
committed
patch 7.4.1449
Problem: Build fails with job feature but without channel feature. Solution: Add #ifdef.
1 parent c5215e9 commit 8cc6977

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/eval.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7800,6 +7800,7 @@ job_unref(job_T *job)
78007800
{
78017801
job_free(job);
78027802
}
7803+
# ifdef FEAT_CHANNEL
78037804
else if (job->jv_channel != NULL)
78047805
{
78057806
/* Do remove the link to the channel, otherwise it hangs
@@ -7808,6 +7809,7 @@ job_unref(job_T *job)
78087809
channel_unref(job->jv_channel);
78097810
job->jv_channel = NULL;
78107811
}
7812+
# endif
78117813
}
78127814
}
78137815

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ static char *(features[]) =
743743

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1449,
746748
/**/
747749
1448,
748750
/**/

0 commit comments

Comments
 (0)