# HG changeset patch # User Bram Moolenaar # Date 1584389703 -3600 # Node ID ad60bc3a808724dd7e36ac724c63be5218779fa8 # Parent db11dd62388bdb87ca429fa8f6b4a5fb2f68a972 patch 8.2.0395: build fails with FEAT_EVAL but without FEAT_MENU Commit: https://github.com/vim/vim/commit/a2cbdea9685f9592ee22bda7b58953d2bbaa4c47 Author: Bram Moolenaar Date: Mon Mar 16 21:08:31 2020 +0100 patch 8.2.0395: build fails with FEAT_EVAL but without FEAT_MENU Problem: Build fails with FEAT_EVAL but without FEAT_MENU. Solution: Add #ifdef. (John Marriott) diff --git a/src/evalfunc.c b/src/evalfunc.c --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -646,7 +646,9 @@ static funcentry_T global_functions[] = {"matchstr", 2, 4, FEARG_1, ret_string, f_matchstr}, {"matchstrpos", 2, 4, FEARG_1, ret_list_any, f_matchstrpos}, {"max", 1, 1, FEARG_1, ret_any, f_max}, +#ifdef FEAT_MENU {"menu_info", 1, 2, FEARG_1, ret_dict_any, f_menu_info}, +#endif {"min", 1, 1, FEARG_1, ret_any, f_min}, {"mkdir", 1, 3, FEARG_1, ret_number, f_mkdir}, {"mode", 0, 1, FEARG_1, ret_string, f_mode}, diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 395, +/**/ 394, /**/ 393,