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:
@@ -2550,8 +2550,10 @@ out_flush(void)
|
||||
{
|
||||
out_buf[len] = NUL;
|
||||
ch_log(NULL, "raw %s output: \"%s\"",
|
||||
(gui.in_use && !gui.dying && !gui.starting)
|
||||
? "GUI" : "terminal",
|
||||
# ifdef FEAT_GUI
|
||||
(gui.in_use && !gui.dying && !gui.starting) ? "GUI" :
|
||||
# endif
|
||||
"terminal",
|
||||
out_buf);
|
||||
ch_log_output = FALSE;
|
||||
}
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2347,
|
||||
/**/
|
||||
2346,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user