summaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-11-29 16:09:18 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-29 16:09:18 +0000
commit4e6072b8d3e7ad85d2ca010c9172c2bdcdc62f44 (patch)
treeaa6474c20921c689bf001922255eea79cad37b76 /src/message.c
parent6f2a22756536849f9e45caa4ddd62cab4334f065 (diff)
patch 9.0.0972: build failure on some systemsv9.0.0972
Problem: Build failure on some systems. Solution: Adjust #ifdefs related to the termresponse feature.
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c
index a60d330eed..3ba1a592b8 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1417,7 +1417,6 @@ set_keep_msg(char_u *s, int attr)
keep_msg_attr = attr;
}
-#if defined(FEAT_TERMRESPONSE) || defined(PROTO)
/*
* If there currently is a message being displayed, set "keep_msg" to it, so
* that it will be displayed again after redraw.
@@ -1429,7 +1428,6 @@ set_keep_msg_from_hist(void)
&& (State & MODE_NORMAL))
set_keep_msg(last_msg_hist->msg, last_msg_hist->attr);
}
-#endif
/*
* Prepare for outputting characters in the command line.