]> granicus.if.org Git - vim/commitdiff
patch 8.1.1117: build failure without the +eval feature v8.1.1117
authorBram Moolenaar <Bram@vim.org>
Thu, 4 Apr 2019 17:06:14 +0000 (19:06 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 4 Apr 2019 17:06:14 +0000 (19:06 +0200)
Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef.

src/ex_cmds2.c
src/version.c

index 97bf14358c0521f08cc20410ed19899e2cb61919..31caa9358335932c7919501a150ece039a5fdc9c 100644 (file)
@@ -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)
index aa069d68ee1d384f16015cef55aa7e3f1a758cdd..11849d92a5e32ad7707c055cb61a503a7e89e902 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1117,
 /**/
     1116,
 /**/