summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index 159905d0b..dfc0d4d74 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -1446,7 +1446,9 @@ WaitForChar(long msec)
INPUT_RECORD ir;
DWORD cRecords;
WCHAR ch, ch2;
+#ifdef FEAT_TIMERS
int tb_change_cnt = typebuf.tb_change_cnt;
+#endif
if (msec > 0)
/* Wait until the specified time has elapsed. */