diff src/ops.c @ 7484:1fe988587423 v7.4.1044

commit https://github.com/vim/vim/commit/718272a7e13c71095ce07eb3b3d5e1f9790a6991 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 3 22:56:45 2016 +0100 patch 7.4.1044 Problem: Can't build without the +eval feature. Solution: Add #ifdef.
author Christian Brabandt <cb@256bit.org>
date Sun, 03 Jan 2016 23:00:05 +0100
parents a49163681559
children 6d969668bfc8
line wrap: on
line diff
--- 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
 }