1
0
forked from aniani/vim

patch 8.2.2500: build fails without the GUI feature

Problem:    Build fails without the GUI feature.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2021-02-11 19:18:58 +01:00
parent 3b678047bc
commit 0bcadf14aa
2 changed files with 4 additions and 0 deletions

View File

@@ -1979,7 +1979,9 @@ command_line_scan(mparm_T *parmp)
{ {
Columns = 80; // need to init Columns Columns = 80; // need to init Columns
info_message = TRUE; // use mch_msg(), not mch_errmsg() info_message = TRUE; // use mch_msg(), not mch_errmsg()
#if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI)
gui.starting = FALSE; // not starting GUI, will exit gui.starting = FALSE; // not starting GUI, will exit
#endif
list_version(); list_version();
msg_putchar('\n'); msg_putchar('\n');
msg_didout = FALSE; msg_didout = FALSE;

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2500,
/**/ /**/
2499, 2499,
/**/ /**/