Skip to content

Commit 5d7be4f

Browse files
committed
patch 8.0.0674: cannot build with eval but without timers
Problem: Cannot build with eval but without timers. Solution: Add #ifdef (John Marriott)
1 parent ea20de8 commit 5d7be4f

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/evalfunc.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3191,7 +3191,11 @@ f_feedkeys(typval_T *argvars, typval_T *rettv UNUSED)
31913191
ins_typebuf(keys_esc, (remap ? REMAP_YES : REMAP_NONE),
31923192
insert ? 0 : typebuf.tb_len, !typed, FALSE);
31933193
vim_free(keys_esc);
3194-
if (vgetc_busy || timer_busy)
3194+
if (vgetc_busy
3195+
#ifdef FEAT_TIMERS
3196+
|| timer_busy
3197+
#endif
3198+
)
31953199
typebuf_was_filled = TRUE;
31963200
if (execute)
31973201
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
674,
767769
/**/
768770
673,
769771
/**/

0 commit comments

Comments
 (0)