changeset 27547:0410a4c24050 v8.2.4300

patch 8.2.4300: cannot build tiny version Commit: https://github.com/vim/vim/commit/4fa1346bf4210747f34b64d05b39309918ca538d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 5 12:39:24 2022 +0000 patch 8.2.4300: cannot build tiny version Problem: Cannot build tiny version. (Tony Mechelynck) Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Feb 2022 13:45:03 +0100
parents 9e4bb6ee63f5
children 5bf66bc1e368
files src/main.c src/version.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }
 
 /*
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4300,
+/**/
     4299,
 /**/
     4298,