From: Bram Moolenaar Date: Mon, 17 Jan 2022 22:16:33 +0000 (+0000) Subject: patch 8.2.4127: build failure without the +eval feature X-Git-Tag: v8.2.4127 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78f60322f70ab91a32e572fbf3d97c792acbc83a;p=vim patch 8.2.4127: build failure without the +eval feature Problem: Build failure without the +eval feature. Solution: Add #ifdef. --- diff --git a/src/usercmd.c b/src/usercmd.c index 808d36c41..015a9c19c 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 6fb6181da..cff3cb8d3 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4127, /**/ 4126, /**/