patch 8.0.0752: build fails on MS-Windows
Problem: Build fails on MS-Windows.
Solution: Change #ifdef for set_color_count().
diff --git a/src/term.c b/src/term.c
index 98be10f..fa0be05 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1427,7 +1427,7 @@
}
}
}
-#if defined(HAVE_TGETENT) || defined(FEAT_TERMRESPONSE)
+
/*
* Set number of colors.
* Store it as a number in t_colors.
@@ -1446,6 +1446,7 @@
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.
*/