0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.4127: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar 2022-01-17 22:16:33 +00:00
parent afa76e1cf2
commit 78f60322f7
2 changed files with 4 additions and 0 deletions

View File

@ -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;
}

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4127,
/**/
4126,
/**/