summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-07 23:25:09 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-07 23:25:09 +0200
commit6cdce2a00369202b4d956884068f6631ee99aca4 (patch)
treec1c4c5447c29bff78264d7c939146f7b6d6ed415 /src/ui.c
parent6d7d7cf750bca5d641e464f6a3af5ee5b99a5ac8 (diff)
downloadvim-git-6cdce2a00369202b4d956884068f6631ee99aca4.tar.gz
patch 8.1.2006: build failure with huge features but without channel featurev8.1.2006
Problem: Build failure with huge features but without channel feature. Solution: Add #ifdef. (Dominique Pelle, closes #4906)
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 2 insertions, 0 deletions
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))