changeset 25447:93f8b181db8f v8.2.3260

patch 8.2.3260: build failure with small features Commit: https://github.com/vim/vim/commit/335c8c7b206df776b59fb63a1c7f91c8b1425398 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 31 21:44:35 2021 +0200 patch 8.2.3260: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 31 Jul 2021 21:45:04 +0200
parents c0fd3b2cdbc0
children cde84529a0a6
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -1388,6 +1388,7 @@ do_cmdline(
     return retval;
 }
 
+#if defined(FEAT_EVAL) || defined(PROTO)
 /*
  * Handle when "did_throw" is set after executing commands.
  */
@@ -1455,7 +1456,6 @@ handle_did_throw()
     estack_pop();
 }
 
-#ifdef FEAT_EVAL
 /*
  * Obtain a line when inside a ":while" or ":for" loop.
  */
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3260,
+/**/
     3259,
 /**/
     3258,