From: Bram Moolenaar Date: Sat, 13 Jun 2020 14:39:31 +0000 (+0200) Subject: patch 8.2.0971: build with tiny features fails X-Git-Tag: v8.2.0971 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=142499de3352e1edb2ab6cc2bf3b82441c8e5f4f;p=thirdparty%2Fvim.git patch 8.2.0971: build with tiny features fails Problem: Build with tiny features fails. Solution: Add #ifdef. --- diff --git a/src/term.c b/src/term.c index e75fddb23a..eb34c8b7a2 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 052f030e56..ef0e0d13f7 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, /**/