diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-04 19:06:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-04 19:06:14 +0200 |
commit | 1cd4dc444ad260e4ff201152ecff2005dbd15410 (patch) | |
tree | da4c6cf1967c1319dfa525b0ed9571ea781bbd98 /src/ex_cmds2.c | |
parent | 558ca4ae55096f8763ab8515a304cda9c57f18a7 (diff) | |
download | vim-git-1cd4dc444ad260e4ff201152ecff2005dbd15410.tar.gz |
patch 8.1.1117: build failure without the +eval featurev8.1.1117
Problem: Build failure without the +eval feature.
Solution: Add #ifdef.
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |