summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-02-05 12:39:24 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-05 12:39:24 +0000
commit4fa1346bf4210747f34b64d05b39309918ca538d (patch)
tree542f04d7135d71cc6514f190563faf489744bbcb /src/main.c
parent46f3080e5cd4cd1bae23e72a429a8195eb1ded7a (diff)
downloadvim-git-4fa1346bf4210747f34b64d05b39309918ca538d.tar.gz
patch 8.2.4300: cannot build tiny versionv8.2.4300
Problem: Cannot build tiny version. (Tony Mechelynck) Solution: Add #ifdef.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 4 insertions, 2 deletions
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;
}
/*