# HG changeset patch # User Bram Moolenaar # Date 1421240924 -3600 # Node ID 97b2ff29ae3a213b5c72bd8ea3aa2442ef355e08 # Parent 927e305059e921677086b6aef368aeb3651a9ba6 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 --- a/src/getchar.c +++ b/src/getchar.c @@ -3710,9 +3710,11 @@ do_map(maptype, arg, mode, abbrev) 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 @@ do_map(maptype, arg, mode, abbrev) /* 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; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 571, +/**/ 570, /**/ 569,