1
0
forked from aniani/vim

patch 8.2.2347: build failure without GUI

Problem:    Build failure without GUI.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2021-01-14 19:04:44 +01:00
parent 845b72854d
commit e1ee58ac78
2 changed files with 6 additions and 2 deletions

View File

@@ -2550,8 +2550,10 @@ out_flush(void)
{ {
out_buf[len] = NUL; out_buf[len] = NUL;
ch_log(NULL, "raw %s output: \"%s\"", ch_log(NULL, "raw %s output: \"%s\"",
(gui.in_use && !gui.dying && !gui.starting) # ifdef FEAT_GUI
? "GUI" : "terminal", (gui.in_use && !gui.dying && !gui.starting) ? "GUI" :
# endif
"terminal",
out_buf); out_buf);
ch_log_output = FALSE; ch_log_output = 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 */
/**/
2347,
/**/ /**/
2346, 2346,
/**/ /**/