]> granicus.if.org Git - vim/commitdiff
patch 8.0.0752: build fails on MS-Windows v8.0.0752
authorBram Moolenaar <Bram@vim.org>
Sat, 22 Jul 2017 19:15:42 +0000 (21:15 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 22 Jul 2017 19:15:42 +0000 (21:15 +0200)
Problem:    Build fails on MS-Windows.
Solution:   Change #ifdef for set_color_count().

src/term.c
src/version.c

index 98be10f18594f010f225cee488bac1e2ad202420..fa0be05572ad3f2dc4d9737fac0507ba3e830993 100644 (file)
@@ -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.
  */
index 174fc0d2e44d27da8217771e92db4d4b63991798..9ea3d819e2b63db9f812aae8cfc011175481bc43 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    752,
 /**/
     751,
 /**/