changeset 18021:e273e489acdf v8.1.2006

patch 8.1.2006: build failure with huge features but without channel feature Commit: https://github.com/vim/vim/commit/6cdce2a00369202b4d956884068f6631ee99aca4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 7 23:25:09 2019 +0200 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 https://github.com/vim/vim/issues/4906)
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 Sep 2019 23:30:05 +0200
parents 1a1df6898465
children 6006041d8699
files src/ui.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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))
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2006,
+/**/
     2005,
 /**/
     2004,