1
0
forked from aniani/vim

patch 8.0.0752: build fails on MS-Windows

Problem:    Build fails on MS-Windows.
Solution:   Change #ifdef for set_color_count().
This commit is contained in:
Bram Moolenaar
2017-07-22 21:15:42 +02:00
parent 613fe7ad2b
commit d7d3cbedb3
2 changed files with 4 additions and 1 deletions

View File

@@ -1427,7 +1427,7 @@ parse_builtin_tcap(char_u *term)
} }
} }
} }
#if defined(HAVE_TGETENT) || defined(FEAT_TERMRESPONSE)
/* /*
* Set number of colors. * Set number of colors.
* Store it as a number in t_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); 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. * Set the color count to "val" and redraw if it changed.
*/ */

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
752,
/**/ /**/
751, 751,
/**/ /**/