1
0
forked from aniani/vim

patch 8.0.0674: cannot build with eval but without timers

Problem:    Cannot build with eval but without timers.
Solution:   Add #ifdef (John Marriott)
This commit is contained in:
Bram Moolenaar
2017-06-25 13:40:17 +02:00
parent ea20de8146
commit 5d7be4f0fa
2 changed files with 7 additions and 1 deletions

View File

@@ -3191,7 +3191,11 @@ f_feedkeys(typval_T *argvars, typval_T *rettv UNUSED)
ins_typebuf(keys_esc, (remap ? REMAP_YES : REMAP_NONE),
insert ? 0 : typebuf.tb_len, !typed, FALSE);
vim_free(keys_esc);
if (vgetc_busy || timer_busy)
if (vgetc_busy
#ifdef FEAT_TIMERS
|| timer_busy
#endif
)
typebuf_was_filled = TRUE;
if (execute)
{