From 142499de3352e1edb2ab6cc2bf3b82441c8e5f4f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 13 Jun 2020 16:39:31 +0200 Subject: [PATCH] patch 8.2.0971: build with tiny features fails Problem: Build with tiny features fails. Solution: Add #ifdef. --- src/term.c | 8 +++++++- src/version.c | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) 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 @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 971, /**/ 970, /**/ -- 2.50.1