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 // There is a pending job or channel, should return soon in order
// to handle them ASAP. Do check for input briefly. // to handle them ASAP. Do check for input briefly.
due_time = 10L; due_time = 10L;
# ifdef FEAT_JOB_CHANNEL
brief_wait = TRUE; brief_wait = TRUE;
# endif
} }
# endif # endif
if (wait_func(due_time, interrupted, ignore_input)) if (wait_func(due_time, interrupted, ignore_input))

View File

@@ -757,6 +757,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2006,
/**/ /**/
2005, 2005,
/**/ /**/