]> granicus.if.org Git - vim/commitdiff
patch 8.2.4127: build failure without the +eval feature v8.2.4127
authorBram Moolenaar <Bram@vim.org>
Mon, 17 Jan 2022 22:16:33 +0000 (22:16 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 17 Jan 2022 22:16:33 +0000 (22:16 +0000)
Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef.

src/usercmd.c
src/version.c

index 808d36c416d331be96d689bc0442266e930f924b..015a9c19c120015004e35f3f819e77c92401cf57 100644 (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;
                }
 
index 6fb6181da2ce857a5336f4a0c260d4dd006fe060..cff3cb8d39a7031f94b87628b857442079bbf1a9 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4127,
 /**/
     4126,
 /**/