changeset 10490:8f2191b56d52 v8.0.0138

commit https://github.com/vim/vim/commit/b094ff4b2be4d8b7364c566a1cc7e27aa4452a50 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 2 16:16:39 2017 +0100 patch 8.0.0138 Problem: Small build fails. Solution: Add #ifdef.
author Christian Brabandt <cb@256bit.org>
date Mon, 02 Jan 2017 16:30:03 +0100
parents 5f1ca9427de6
children 19310ee2442e
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -789,7 +789,11 @@ do_cmdline(
     /* It's possible to create an endless loop with ":execute", catch that
      * here.  The value of 200 allows nested function calls, ":source", etc.
      * Allow 200 or 'maxfuncdepth', whatever is larger. */
-    if (call_depth >= 200 && call_depth >= p_mfd)
+    if (call_depth >= 200
+#ifdef FEAT_EVAL
+	    && call_depth >= p_mfd
+#endif
+	    )
     {
 	EMSG(_("E169: Command too recursive"));
 #ifdef FEAT_EVAL
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    138,
+/**/
     137,
 /**/
     136,