Skip to content

Commit

Permalink
patch 8.2.4127: build failure without the +eval feature
Browse files Browse the repository at this point in the history
Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef.
  • Loading branch information
brammool committed Jan 17, 2022
1 parent afa76e1 commit 78f6032
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/usercmd.c
Expand Up @@ -548,13 +548,15 @@ 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)
{
IObuff[len] = ',';
STRCPY(IObuff + len + 1, cmd->uc_compl_arg);
len += (int)STRLEN(IObuff + len);
}
#endif
break;
}

Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -750,6 +750,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4127,
/**/
4126,
/**/
Expand Down

0 comments on commit 78f6032

Please sign in to comment.