# HG changeset patch # User Bram Moolenaar # Date 1610648104 -3600 # Node ID 07f9e4a54178c2e3b1dd6013553330ec7c3e3b47 # Parent ce78b6952d8758d294b5f36ed6b3f6f5388db6f1 patch 8.2.2347: build failure without GUI Commit: https://github.com/vim/vim/commit/e1ee58ac788508585f60c91fcf6629e2251a9220 Author: Bram Moolenaar Date: Thu Jan 14 19:04:44 2021 +0100 patch 8.2.2347: build failure without GUI Problem: Build failure without GUI. Solution: Add #ifdef. diff --git a/src/term.c b/src/term.c --- a/src/term.c +++ b/src/term.c @@ -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; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2347, +/**/ 2346, /**/ 2345,