From: Bram Moolenaar Date: Sat, 7 Sep 2019 21:25:09 +0000 (+0200) Subject: patch 8.1.2006: build failure with huge features but without channel feature X-Git-Tag: v8.1.2006 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cdce2a00369202b4d956884068f6631ee99aca4;p=vim patch 8.1.2006: build failure with huge features but without channel feature Problem: Build failure with huge features but without channel feature. Solution: Add #ifdef. (Dominique Pelle, closes #4906) --- diff --git a/src/ui.c b/src/ui.c index 1b700f1b1..75b66fe5c 100644 --- 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)) diff --git a/src/version.c b/src/version.c index dd0fe6222..4f9e3462a 100644 --- a/src/version.c +++ b/src/version.c @@ -757,6 +757,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2006, /**/ 2005, /**/