changeset 11739:5c69c6d9e2eb v8.0.0752

patch 8.0.0752: build fails on MS-Windows commit https://github.com/vim/vim/commit/d7d3cbedb3dc5c843724430539ad52ddafcefc93 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 22 21:15:42 2017 +0200 patch 8.0.0752: build fails on MS-Windows Problem: Build fails on MS-Windows. Solution: Change #ifdef for set_color_count().
author Christian Brabandt <cb@256bit.org>
date Sat, 22 Jul 2017 21:30:04 +0200
parents 1e58b53aa71d
children afbd33dc6853
files src/term.c src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c
+++ b/src/term.c
@@ -1427,7 +1427,7 @@ parse_builtin_tcap(char_u *term)
 	}
     }
 }
-#if defined(HAVE_TGETENT) || defined(FEAT_TERMRESPONSE)
+
 /*
  * Set number of colors.
  * Store it as a number in t_colors.
@@ -1446,6 +1446,7 @@ set_color_count(int nr)
     set_string_option_direct((char_u *)"t_Co", -1, nr_colors, OPT_FREE, 0);
 }
 
+#if defined(FEAT_TERMRESPONSE)
 /*
  * Set the color count to "val" and redraw if it changed.
  */
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    752,
+/**/
     751,
 /**/
     750,