updated for version 7.4.571
Problem: Can't build with tiny features. (Ike Devolder)
Solution: Add #ifdef.
diff --git a/src/getchar.c b/src/getchar.c
index 3ae5f40..54bce31 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -3710,9 +3710,11 @@
else if (*keys == Ctrl_C)
{
/* If CTRL-C has been unmapped, reuse it for Interrupting. */
+#ifdef FEAT_LOCALMAP
if (map_table == curbuf->b_maphash)
curbuf->b_mapped_ctrl_c &= ~mode;
else
+#endif
mapped_ctrl_c &= ~mode;
}
goto theend;
@@ -3750,9 +3752,11 @@
/* If CTRL-C has been mapped, don't always use it for Interrupting. */
if (*keys == Ctrl_C)
{
+#ifdef FEAT_LOCALMAP
if (map_table == curbuf->b_maphash)
curbuf->b_mapped_ctrl_c |= mode;
else
+#endif
mapped_ctrl_c |= mode;
}