vim-patch:8.0.1726: older MSVC doesn't support declarations halfway a block

Problem:    Older MSVC doesn't support declarations halfway a block.
Solution:   Move the declaration back to the start of the block.
df2c774ded
This commit is contained in:
Jan Edmund Lazo
2019-06-16 19:52:56 -04:00
parent 315076a26d
commit 8bea8d7b47
4 changed files with 10 additions and 9 deletions

View File

@@ -510,7 +510,7 @@ EXTERN int sc_col; /* column for shown command */
// First NO_SCREEN, then NO_BUFFERS, then 0 when startup finished.
EXTERN int starting INIT(= NO_SCREEN);
// true when planning to exit. Might keep running if there is a changed buffer.
EXTERN int exiting INIT(= false);
EXTERN bool exiting INIT(= false);
// is stdin a terminal?
EXTERN int stdin_isatty INIT(= true);
// is stdout a terminal?