commit | c0aa482a5add1e1125fd983d62c67a182c76ae24 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jul 16 14:04:29 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jul 16 14:04:29 2017 +0200 |
tree | a3fbed88286f02e27690d75679ff4dcb914b3ee7 | |
parent | cb8bbe9bf3214d07580d6b43d6539416884153bd [diff] [blame] |
patch 8.0.0719: build failure without +terminal feature Problem: Build failure without +terminal feature. Solution: Add #ifdefs.
diff --git a/src/channel.c b/src/channel.c index 9ba013a..939b513 100644 --- a/src/channel.c +++ b/src/channel.c
@@ -2657,9 +2657,11 @@ msg = json_encode(listtv, ch_mode); if (msg != NULL) { +#ifdef FEAT_TERMINAL if (buffer->b_term != NULL) write_to_term(buffer, msg, channel); else +#endif append_to_buffer(buffer, msg, channel, part); } }