]> granicus.if.org Git - vim/commitdiff
patch 8.1.2170: cannot build without the +termresponse feature v8.1.2170
authorBram Moolenaar <Bram@vim.org>
Thu, 17 Oct 2019 20:17:02 +0000 (22:17 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 17 Oct 2019 20:17:02 +0000 (22:17 +0200)
Problem:    Cannot build without the +termresponse feature.
Solution:   Add #ifdef.

src/term.c
src/version.c

index b2871216924a2e24883286678a032dce5dedca61..ef857a1a622c819633650caf1b7ec1501bc3c140 100644 (file)
@@ -1957,8 +1957,10 @@ set_termname(char_u *term)
 #if defined(UNIX) || defined(VMS)
     term_is_xterm = vim_is_xterm(term);
 #endif
+#ifdef FEAT_TERMRESPONSE
     is_not_xterm = FALSE;
     is_mac_terminal = FALSE;
+#endif
 
 #ifdef FEAT_MOUSE
 # if defined(UNIX) || defined(VMS)
index 78d0dc9bae09cecef737b904af28079b73e01dfa..b7d9cb7d870e9e8bd83976ec48f9d2691f7e0087 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2170,
 /**/
     2169,
 /**/