Skip to content

Commit d7d3cbe

Browse files
committed
patch 8.0.0752: build fails on MS-Windows
Problem: Build fails on MS-Windows. Solution: Change #ifdef for set_color_count().
1 parent 613fe7a commit d7d3cbe

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/term.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ parse_builtin_tcap(char_u *term)
14271427
}
14281428
}
14291429
}
1430-
#if defined(HAVE_TGETENT) || defined(FEAT_TERMRESPONSE)
1430+
14311431
/*
14321432
* Set number of colors.
14331433
* Store it as a number in t_colors.
@@ -1446,6 +1446,7 @@ set_color_count(int nr)
14461446
set_string_option_direct((char_u *)"t_Co", -1, nr_colors, OPT_FREE, 0);
14471447
}
14481448

1449+
#if defined(FEAT_TERMRESPONSE)
14491450
/*
14501451
* Set the color count to "val" and redraw if it changed.
14511452
*/

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
752,
772774
/**/
773775
751,
774776
/**/

0 commit comments

Comments
 (0)