diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-03 22:56:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-03 22:56:45 +0100 |
commit | 718272a7e13c71095ce07eb3b3d5e1f9790a6991 (patch) | |
tree | a63b120d8069e8769a9ac666487ef7cdedf1646d | |
parent | d7a08a23bf210147e846c74af570bd219e4903da (diff) | |
download | vim-git-718272a7e13c71095ce07eb3b3d5e1f9790a6991.tar.gz |
patch 7.4.1044v7.4.1044
Problem: Can't build without the +eval feature.
Solution: Add #ifdef.
-rw-r--r-- | src/ops.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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 } diff --git a/src/version.c b/src/version.c index 64ecb5fd9..a007d0d39 100644 --- 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 */ /**/ + 1044, +/**/ 1043, /**/ 1042, |