]> granicus.if.org Git - vim/commitdiff
patch 8.2.0971: build with tiny features fails v8.2.0971
authorBram Moolenaar <Bram@vim.org>
Sat, 13 Jun 2020 14:39:31 +0000 (16:39 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 13 Jun 2020 14:39:31 +0000 (16:39 +0200)
Problem:    Build with tiny features fails.
Solution:   Add #ifdef.

src/term.c
src/version.c

index e75fddb23af5a50594864ac1801b79c1d553bf5f..eb34c8b7a2be53946d46e9f01c3327d4947dae16 100644 (file)
@@ -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.
index 052f030e5691e6154cd2e2920899625f32afc761..ef0e0d13f70fcc2b3c9bab228616b82963cf98fc 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    971,
 /**/
     970,
 /**/