diff src/term.c @ 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 b1796f1b28fa
children 9f51d0cef8da
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)