From: Bram Moolenaar Date: Thu, 4 Apr 2019 17:06:14 +0000 (+0200) Subject: patch 8.1.1117: build failure without the +eval feature X-Git-Tag: v8.1.1117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1cd4dc444ad260e4ff201152ecff2005dbd15410;p=vim patch 8.1.1117: build failure without the +eval feature Problem: Build failure without the +eval feature. Solution: Add #ifdef. --- diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 97bf14358..31caa9358 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -5115,6 +5115,7 @@ ex_scriptencoding(exarg_T *eap) void ex_scriptversion(exarg_T *eap UNUSED) { +#ifdef FEAT_EVAL int nr; 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); else current_sctx.sc_version = nr; +#endif } #if defined(FEAT_EVAL) || defined(PROTO) diff --git a/src/version.c b/src/version.c index aa069d68e..11849d92a 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1117, /**/ 1116, /**/