summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-17 22:16:33 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-17 22:16:33 +0000
commit78f60322f70ab91a32e572fbf3d97c792acbc83a (patch)
tree9d975fc821480f720049ae1ca25dcef23fca43bd
parentafa76e1cf2e7e1f9e1097e345a4272e9ddbf14ad (diff)
patch 8.2.4127: build failure without the +eval featurev8.2.4127
Problem: Build failure without the +eval feature. Solution: Add #ifdef.
-rw-r--r--src/usercmd.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/usercmd.c b/src/usercmd.c
index 808d36c416..015a9c19c1 100644
--- a/src/usercmd.c
+++ b/src/usercmd.c
@@ -548,6 +548,7 @@ uc_list(char_u *name, size_t name_len)
{
STRCPY(IObuff + len, command_complete[j].name);
len += (int)STRLEN(IObuff + len);
+#ifdef FEAT_EVAL
if (p_verbose > 0 && cmd->uc_compl_arg != NULL
&& STRLEN(cmd->uc_compl_arg) < 200)
{
@@ -555,6 +556,7 @@ uc_list(char_u *name, size_t name_len)
STRCPY(IObuff + len + 1, cmd->uc_compl_arg);
len += (int)STRLEN(IObuff + len);
}
+#endif
break;
}
diff --git a/src/version.c b/src/version.c
index 6fb6181da2..cff3cb8d39 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4127,
+/**/
4126,
/**/
4125,