changeset 18352:94e1a49b879e v8.1.2170

patch 8.1.2170: cannot build without the +termresponse feature Commit: https://github.com/vim/vim/commit/0d2c4bf1714a6b286bd7a10061044414e0b17a15 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 17 22:17:02 2019 +0200 patch 8.1.2170: cannot build without the +termresponse feature Problem: Cannot build without the +termresponse feature. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Oct 2019 22:30:03 +0200
parents 9c2ab919ead5
children c3a0f5d3c9d4
files src/term.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c
+++ b/src/term.c
@@ -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)
--- 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 */
 /**/
+    2170,
+/**/
     2169,
 /**/
     2168,