1
0
forked from aniani/vim

patch 8.0.1808: can't build without TGETENT

Problem:    Can't build without TGETENT.
Solution:   Add #ifdef
This commit is contained in:
Bram Moolenaar 2018-05-10 14:40:57 +02:00
parent 69e056915c
commit 9289df5ca9
2 changed files with 4 additions and 0 deletions

View 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)

View File

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