From: Bram Moolenaar <Bram@vim.org>
Date: Sat, 5 Feb 2022 12:39:24 +0000 (+0000)
Subject: patch 8.2.4300: cannot build tiny version
X-Git-Tag: v8.2.4300
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fa1346bf4210747f34b64d05b39309918ca538d;p=vim

patch 8.2.4300: cannot build tiny version

Problem:    Cannot build tiny version. (Tony Mechelynck)
Solution:   Add #ifdef.
---

diff --git a/src/main.c b/src/main.c
index 389d57000..5d02c9584 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1047,8 +1047,10 @@ is_safe_now(void)
     return stuff_empty()
 	&& typebuf.tb_len == 0
 	&& scriptin[curscript] == NULL
-	&& !global_busy
-	&& !debug_mode;
+#ifdef FEAT_EVAL
+	&& !debug_mode
+#endif
+	&& !global_busy;
 }
 
 /*
diff --git a/src/version.c b/src/version.c
index 92b922184..b9945845d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4300,
 /**/
     4299,
 /**/