Skip to content

Commit

Permalink
patch 8.1.1540: cannot build without the +eval feature
Browse files Browse the repository at this point in the history
Problem:    Cannot build without the +eval feature.
Solution:   Define ex_const if needed.
  • Loading branch information
brammool committed Jun 15, 2019
1 parent 9937a05 commit 0abb427
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ex_docmd.c
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -777,6 +777,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1540,
/**/
1539,
/**/
Expand Down

0 comments on commit 0abb427

Please sign in to comment.