Mercurial > vim
comparison src/term.c @ 23610:07f9e4a54178 v8.2.2347
patch 8.2.2347: build failure without GUI
Commit: https://github.com/vim/vim/commit/e1ee58ac788508585f60c91fcf6629e2251a9220
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 14 Jan 2021 19:15:04 +0100 |
parents | f98939164e91 |
children | 8dbebce07695 |
comparison
equal
deleted
inserted
replaced
23609:ce78b6952d87 | 23610:07f9e4a54178 |
---|---|
2548 #ifdef FEAT_JOB_CHANNEL | 2548 #ifdef FEAT_JOB_CHANNEL |
2549 if (ch_log_output) | 2549 if (ch_log_output) |
2550 { | 2550 { |
2551 out_buf[len] = NUL; | 2551 out_buf[len] = NUL; |
2552 ch_log(NULL, "raw %s output: \"%s\"", | 2552 ch_log(NULL, "raw %s output: \"%s\"", |
2553 (gui.in_use && !gui.dying && !gui.starting) | 2553 # ifdef FEAT_GUI |
2554 ? "GUI" : "terminal", | 2554 (gui.in_use && !gui.dying && !gui.starting) ? "GUI" : |
2555 # endif | |
2556 "terminal", | |
2555 out_buf); | 2557 out_buf); |
2556 ch_log_output = FALSE; | 2558 ch_log_output = FALSE; |
2557 } | 2559 } |
2558 #endif | 2560 #endif |
2559 } | 2561 } |