]> granicus.if.org Git - vim/commitdiff
patch 7.4.1449 v7.4.1449
authorBram Moolenaar <Bram@vim.org>
Sun, 28 Feb 2016 15:42:03 +0000 (16:42 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 28 Feb 2016 15:42:03 +0000 (16:42 +0100)
Problem:    Build fails with job feature but without channel feature.
Solution:   Add #ifdef.

src/eval.c
src/version.c

index c12961aa78cc46d761b3634151edc76a73ba6078..4dd400ad98bff622471ac3817b88218a205cee2c 100644 (file)
@@ -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
     }
 }
 
index eaf0ab6226062649bbe546f9b8f6fb4d4450ff84..8853a7848877326ea06f0dc3df94dc861300bd9f 100644 (file)
@@ -743,6 +743,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1449,
 /**/
     1448,
 /**/