]> granicus.if.org Git - vim/commitdiff
patch 8.2.4300: cannot build tiny version v8.2.4300
authorBram Moolenaar <Bram@vim.org>
Sat, 5 Feb 2022 12:39:24 +0000 (12:39 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 5 Feb 2022 12:39:24 +0000 (12:39 +0000)
Problem:    Cannot build tiny version. (Tony Mechelynck)
Solution:   Add #ifdef.

src/main.c
src/version.c

index 389d570006b53130c4d22d28b812cd069ab125e2..5d02c95849dd61a8df2cf99bf3e161915073d5fa 100644 (file)
@@ -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;
 }
 
 /*
index 92b9221848e9f798ec8daefda189d68dfd0c6832..b9945845d500bba73145dd6738f2b566189364d6 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4300,
 /**/
     4299,
 /**/