]> granicus.if.org Git - vim/commitdiff
patch 7.4.1044 v7.4.1044
authorBram Moolenaar <Bram@vim.org>
Sun, 3 Jan 2016 21:56:45 +0000 (22:56 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 3 Jan 2016 21:56:45 +0000 (22:56 +0100)
Problem:    Can't build without the +eval feature.
Solution:   Add #ifdef.

src/ops.c
src/version.c

index e710f66ef29aa1ec9d1095da5628047af040b5d9..d67c2240e1cdcc66584f97fa94e6b31dc4a6da48 100644 (file)
--- a/src/ops.c
+++ b/src/ops.c
@@ -7205,6 +7205,7 @@ cursor_pos_info(dict)
            p_shm = p;
        }
     }
+#if defined(FEAT_EVAL)
     if (dict != NULL)
     {
        dict_add_nr_str(dict, "words", (long)word_count, NULL);
@@ -7223,4 +7224,5 @@ cursor_pos_info(dict)
            dict_add_nr_str(dict, "cursor_words", (long)word_count_cursor, NULL);
        }
     }
+#endif
 }
index 64ecb5fd939ef374471cc55a80bd1685067ad42d..a007d0d39714f4760f2e61ae8bc48f74569db6cc 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1044,
 /**/
     1043,
 /**/