From 0d2c4bf1714a6b286bd7a10061044414e0b17a15 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 17 Oct 2019 22:17:02 +0200 Subject: [PATCH] patch 8.1.2170: cannot build without the +termresponse feature Problem: Cannot build without the +termresponse feature. Solution: Add #ifdef. --- src/term.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/term.c b/src/term.c index b28712169..ef857a1a6 100644 --- 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) diff --git a/src/version.c b/src/version.c index 78d0dc9ba..b7d9cb7d8 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2170, /**/ 2169, /**/