0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

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)
This commit is contained in:
Bram Moolenaar
2019-09-07 23:25:09 +02:00
parent 6d7d7cf750
commit 6cdce2a003
2 changed files with 4 additions and 0 deletions

View File

@@ -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))