]> granicus.if.org Git - vim/commitdiff
patch 8.1.2006: build failure with huge features but without channel feature v8.1.2006
authorBram Moolenaar <Bram@vim.org>
Sat, 7 Sep 2019 21:25:09 +0000 (23:25 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 7 Sep 2019 21:25:09 +0000 (23:25 +0200)
Problem:    Build failure with huge features but without channel feature.
Solution:   Add #ifdef. (Dominique Pelle, closes #4906)

src/ui.c
src/version.c

index 1b700f1b1c1976b7de5bdcb4d8e63c7f38a51ff9..75b66fe5c50d48628be003d04bd2e5be8861be31 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -479,7 +479,9 @@ ui_wait_for_chars_or_timer(
            // There is a pending job or channel, should return soon in order
            // to handle them ASAP.  Do check for input briefly.
            due_time = 10L;
+#  ifdef FEAT_JOB_CHANNEL
            brief_wait = TRUE;
+#  endif
        }
 # endif
        if (wait_func(due_time, interrupted, ignore_input))
index dd0fe62229202386d21fb1c2097c92562679df77..4f9e3462a437f85fd307c73c2abef863c77a4177 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2006,
 /**/
     2005,
 /**/