diff src/terminal.c @ 12634:94566ecb55f0 v8.0.1195

patch 8.0.1195: can't build on MS-Windows commit https://github.com/vim/vim/commit/9377df3ecd0bd3acb5d46cb8af7fe60867f247f2 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 15 13:22:01 2017 +0200 patch 8.0.1195: can't build on MS-Windows Problem: Can't build on MS-Windows. Solution: Adjust #ifdef and add #ifdefs.
author Christian Brabandt <cb@256bit.org>
date Sun, 15 Oct 2017 13:30:05 +0200
parents b1a7e3968a31
children f58755eb453e
line wrap: on
line diff
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -2624,8 +2624,10 @@ create_vterm(term_T *term, int rows, int
 	    fg->blue = tmp;
 # endif
 	}
+# ifdef FEAT_TERMRESPONSE
 	else
 	    term_get_fg_color(&fg->red, &fg->green, &fg->blue);
+# endif
 
 	if (cterm_normal_bg_color > 0)
 	{
@@ -2636,8 +2638,10 @@ create_vterm(term_T *term, int rows, int
 	    bg->blue = tmp;
 # endif
 	}
+# ifdef FEAT_TERMRESPONSE
 	else
 	    term_get_bg_color(&bg->red, &bg->green, &bg->blue);
+# endif
     }
 
     vterm_state_set_default_colors(vterm_obtain_state(vterm), fg, bg);