patch 8.1.2202: MS-Windows: build failure with GUI and small features
Problem: MS-Windows: build failure with GUI and small features.
Solution: Add #ifdef. (Michael Soyka, closes #5097)
diff --git a/src/gui_w32.c b/src/gui_w32.c
index ae47873..4ee1863 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -2610,7 +2610,9 @@
key_name[1] = KS_EXTRA;
key_name[2] = KE_NOP;
key_name[3] = NUL;
+#if defined(FEAT_CLIENTSERVER) || defined(FEAT_EVAL)
typebuf_was_filled = TRUE;
+#endif
(void)ins_typebuf(key_name, REMAP_NONE, 0, TRUE, FALSE);
}
}