diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-05 12:39:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-05 12:39:24 +0000 |
commit | 4fa1346bf4210747f34b64d05b39309918ca538d (patch) | |
tree | 542f04d7135d71cc6514f190563faf489744bbcb | |
parent | 46f3080e5cd4cd1bae23e72a429a8195eb1ded7a (diff) |
patch 8.2.4300: cannot build tiny versionv8.2.4300
Problem: Cannot build tiny version. (Tony Mechelynck)
Solution: Add #ifdef.
-rw-r--r-- | src/main.c | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index 389d570006..5d02c95849 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 92b9221848..b9945845d5 100644 --- 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, |