1
0
forked from aniani/vim

patch 8.1.1540: cannot build without the +eval feature

Problem:    Cannot build without the +eval feature.
Solution:   Define ex_const if needed.
This commit is contained in:
Bram Moolenaar 2019-06-15 16:06:00 +02:00
parent 9937a05543
commit 0abb4273f6
2 changed files with 4 additions and 0 deletions

View File

@ -296,6 +296,7 @@ static void ex_tag_cmd(exarg_T *eap, char_u *name);
# define ex_endtry ex_ni
# define ex_endfunction ex_ni
# define ex_let ex_ni
# define ex_const ex_ni
# define ex_unlet ex_ni
# define ex_lockvar ex_ni
# define ex_unlockvar ex_ni
@ -4852,6 +4853,7 @@ replace_makeprg(exarg_T *eap, char_u *p, char_u **cmdlinep)
/*
* Expand file name in Ex command argument.
* When an error is detected, "errormsgp" is set to a non-NULL pointer.
* Return FAIL for failure, OK otherwise.
*/
int

View File

@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1540,
/**/
1539,
/**/