0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.1117: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2019-04-04 19:06:14 +02:00
parent 558ca4ae55
commit 1cd4dc444a
2 changed files with 4 additions and 0 deletions

View File

@@ -5115,6 +5115,7 @@ ex_scriptencoding(exarg_T *eap)
void void
ex_scriptversion(exarg_T *eap UNUSED) ex_scriptversion(exarg_T *eap UNUSED)
{ {
#ifdef FEAT_EVAL
int nr; int nr;
if (!getline_equal(eap->getline, eap->cookie, getsourceline)) if (!getline_equal(eap->getline, eap->cookie, getsourceline))
@@ -5130,6 +5131,7 @@ ex_scriptversion(exarg_T *eap UNUSED)
semsg(_("E999: scriptversion not supported: %d"), nr); semsg(_("E999: scriptversion not supported: %d"), nr);
else else
current_sctx.sc_version = nr; current_sctx.sc_version = nr;
#endif
} }
#if defined(FEAT_EVAL) || defined(PROTO) #if defined(FEAT_EVAL) || defined(PROTO)

View File

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