updated for version 7.4.571 v7.4.571
authorBram Moolenaar <Bram@vim.org>
Wed, 14 Jan 2015 13:08:44 +0000 (14:08 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 14 Jan 2015 13:08:44 +0000 (14:08 +0100)
Problem:    Can't build with tiny features. (Ike Devolder)
Solution:   Add #ifdef.

src/getchar.c
src/version.c

index 3ae5f40609faf50ef5cb94a21922d7693f6ff5a8..54bce315f3135ec6c6b19181f942bd854b8cf6e6 100644 (file)
@@ -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;
     }
 
index b6e75563a05b3f770e6da05deb91f89f08ced994..39191f50048553a7b7f9d17cf8302183a2df39da 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    571,
 /**/
     570,
 /**/