Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
27546:9e4bb6ee63f5 | 27547:0410a4c24050 |
---|---|
1045 is_safe_now(void) | 1045 is_safe_now(void) |
1046 { | 1046 { |
1047 return stuff_empty() | 1047 return stuff_empty() |
1048 && typebuf.tb_len == 0 | 1048 && typebuf.tb_len == 0 |
1049 && scriptin[curscript] == NULL | 1049 && scriptin[curscript] == NULL |
1050 && !global_busy | 1050 #ifdef FEAT_EVAL |
1051 && !debug_mode; | 1051 && !debug_mode |
1052 #endif | |
1053 && !global_busy; | |
1052 } | 1054 } |
1053 | 1055 |
1054 /* | 1056 /* |
1055 * Trigger SafeState if currently in s safe state, that is "safe" is TRUE and | 1057 * Trigger SafeState if currently in s safe state, that is "safe" is TRUE and |
1056 * there is no typeahead. | 1058 * there is no typeahead. |