Mercurial > vim
comparison src/evalfunc.c @ 11583:ef8b233f07ae v8.0.0674
patch 8.0.0674: cannot build with eval but without timers
commit https://github.com/vim/vim/commit/5d7be4f0fa04a9210a14fca69b4f9e34613b378f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 25 13:40:17 2017 +0200
patch 8.0.0674: cannot build with eval but without timers
Problem: Cannot build with eval but without timers.
Solution: Add #ifdef (John Marriott)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 25 Jun 2017 13:45:03 +0200 |
parents | 0ec755ff1fe2 |
children | 439835c4b7aa |
comparison
equal
deleted
inserted
replaced
11582:5944758f4092 | 11583:ef8b233f07ae |
---|---|
3189 if (keys_esc != NULL) | 3189 if (keys_esc != NULL) |
3190 { | 3190 { |
3191 ins_typebuf(keys_esc, (remap ? REMAP_YES : REMAP_NONE), | 3191 ins_typebuf(keys_esc, (remap ? REMAP_YES : REMAP_NONE), |
3192 insert ? 0 : typebuf.tb_len, !typed, FALSE); | 3192 insert ? 0 : typebuf.tb_len, !typed, FALSE); |
3193 vim_free(keys_esc); | 3193 vim_free(keys_esc); |
3194 if (vgetc_busy || timer_busy) | 3194 if (vgetc_busy |
3195 #ifdef FEAT_TIMERS | |
3196 || timer_busy | |
3197 #endif | |
3198 ) | |
3195 typebuf_was_filled = TRUE; | 3199 typebuf_was_filled = TRUE; |
3196 if (execute) | 3200 if (execute) |
3197 { | 3201 { |
3198 int save_msg_scroll = msg_scroll; | 3202 int save_msg_scroll = msg_scroll; |
3199 | 3203 |