summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-13 16:39:31 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-13 16:39:31 +0200
commit142499de3352e1edb2ab6cc2bf3b82441c8e5f4f (patch)
tree62964efabbe56d1c73e226c165b4a8c7ec5ec983
parent0c0eddd3ddd266bcc2036362fae7b2b8b9d2c7bf (diff)
downloadvim-git-142499de3352e1edb2ab6cc2bf3b82441c8e5f4f.tar.gz
patch 8.2.0971: build with tiny features failsv8.2.0971
Problem: Build with tiny features fails. Solution: Add #ifdef.
-rw-r--r--src/term.c8
-rw-r--r--src/version.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index e75fddb23..eb34c8b7a 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4538,7 +4538,13 @@ handle_version_response(int first, int *arg, int argc, char_u *tp)
// Reset terminal properties that are set based on the termresponse.
// Mainly useful for tests that send the termresponse multiple times.
// For testing all props can be reset.
- init_term_props(reset_term_props_on_termresponse);
+ init_term_props(
+#ifdef FEAT_EVAL
+ reset_term_props_on_termresponse
+#else
+ FALSE
+#endif
+ );
// If this code starts with CSI, you can bet that the
// terminal uses 8-bit codes.
diff --git a/src/version.c b/src/version.c
index 052f030e5..ef0e0d13f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 971,
+/**/
970,
/**/
969,