commit | 718272a7e13c71095ce07eb3b3d5e1f9790a6991 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 03 22:56:45 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 03 22:56:45 2016 +0100 |
tree | a63b120d8069e8769a9ac666487ef7cdedf1646d | |
parent | d7a08a23bf210147e846c74af570bd219e4903da [diff] [blame] |
patch 7.4.1044 Problem: Can't build without the +eval feature. Solution: Add #ifdef.
diff --git a/src/ops.c b/src/ops.c index e710f66..d67c224 100644 --- a/src/ops.c +++ b/src/ops.c
@@ -7205,6 +7205,7 @@ p_shm = p; } } +#if defined(FEAT_EVAL) if (dict != NULL) { dict_add_nr_str(dict, "words", (long)word_count, NULL); @@ -7223,4 +7224,5 @@ dict_add_nr_str(dict, "cursor_words", (long)word_count_cursor, NULL); } } +#endif }