diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-14 19:04:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-14 19:04:44 +0100 |
commit | e1ee58ac788508585f60c91fcf6629e2251a9220 (patch) | |
tree | d9e28332e3c9849a6f11cea7fcf54b86d60af821 /src/term.c | |
parent | 845b72854de90de13879598df53f1c388e52e1ba (diff) | |
download | vim-git-e1ee58ac788508585f60c91fcf6629e2251a9220.tar.gz |
patch 8.2.2347: build failure without GUIv8.2.2347
Problem: Build failure without GUI.
Solution: Add #ifdef.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index bf33a1c18..f4f54e2a5 100644 --- 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; } |