Skip to content

Commit 718272a

Browse files
committed
patch 7.4.1044
Problem: Can't build without the +eval feature. Solution: Add #ifdef.
1 parent d7a08a2 commit 718272a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/ops.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7205,6 +7205,7 @@ cursor_pos_info(dict)
72057205
p_shm = p;
72067206
}
72077207
}
7208+
#if defined(FEAT_EVAL)
72087209
if (dict != NULL)
72097210
{
72107211
dict_add_nr_str(dict, "words", (long)word_count, NULL);
@@ -7223,4 +7224,5 @@ cursor_pos_info(dict)
72237224
dict_add_nr_str(dict, "cursor_words", (long)word_count_cursor, NULL);
72247225
}
72257226
}
7227+
#endif
72267228
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
1044,
744746
/**/
745747
1043,
746748
/**/

0 commit comments

Comments
 (0)