]> granicus.if.org Git - vim/commitdiff
patch 8.0.1808: can't build without TGETENT v8.0.1808
authorBram Moolenaar <Bram@vim.org>
Thu, 10 May 2018 12:40:57 +0000 (14:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 10 May 2018 12:40:57 +0000 (14:40 +0200)
Problem:    Can't build without TGETENT.
Solution:   Add #ifdef

src/term.c
src/version.c

index 37caf2b26cfb0aba8719f64199fd7f8e448e65d6..8b69cc41a534bb00912f3efc0ad5deb311a16fe3 100644 (file)
@@ -1544,6 +1544,7 @@ static char *(key_names[]) =
 };
 #endif
 
+#ifdef HAVE_TGETENT
     static void
 get_term_entries(int *height, int *width)
 {
@@ -1642,6 +1643,7 @@ get_term_entries(int *height, int *width)
        PC = *p;
 # endif
 }
+#endif
 
     static void
 report_term_error(char_u *error_msg, char_u *term)
index 147f4ed0774d7606c841e09a7c9fe05efb5cfe9a..db47bea9eb2e690c1e7bf67bc2dff0207b33422c 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1808,
 /**/
     1807,
 /**/