]> granicus.if.org Git - vim/commitdiff
patch 8.0.0674: cannot build with eval but without timers v8.0.0674
authorBram Moolenaar <Bram@vim.org>
Sun, 25 Jun 2017 11:40:17 +0000 (13:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 25 Jun 2017 11:40:17 +0000 (13:40 +0200)
Problem:    Cannot build with eval but without timers.
Solution:   Add #ifdef (John Marriott)

src/evalfunc.c
src/version.c

index 581ad7b5bf42ce93869d4f41b9e746756f43ac55..ac232a3b3e1be1c8879e86240d3e864cb85b61dc 100644 (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)
            {
index b9f309d21642d1a0e257b09d54e591433f27f4a5..fa4f6fb04660bdcd3f305d0773cd789e1372cd3a 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    674,
 /**/
     673,
 /**/