# HG changeset patch # User Bram Moolenaar # Date 1642458603 -3600 # Node ID 80f2c282ef9cda9e3ecadad14eeab2bc9c25f6ca # Parent ee01902c9e73c2f8a6cea00925188153f6286483 patch 8.2.4127: build failure without the +eval feature Commit: https://github.com/vim/vim/commit/78f60322f70ab91a32e572fbf3d97c792acbc83a Author: Bram Moolenaar Date: Mon Jan 17 22:16:33 2022 +0000 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 --- 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 --- 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,