From: Bram Moolenaar Date: Sun, 25 Jun 2017 11:40:17 +0000 (+0200) Subject: patch 8.0.0674: cannot build with eval but without timers X-Git-Tag: v8.0.0674 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d7be4f0fa04a9210a14fca69b4f9e34613b378f;p=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) --- diff --git a/src/evalfunc.c b/src/evalfunc.c index 581ad7b5b..ac232a3b3 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -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) { diff --git a/src/version.c b/src/version.c index b9f309d21..fa4f6fb04 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 674, /**/ 673, /**/