diff src/main.c @ 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 d00f5bb4941f
children 41a61dbb46d2
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;
 }
 
 /*