Skip to content

Commit

Permalink
patch 8.0.1808: can't build without TGETENT
Browse files Browse the repository at this point in the history
Problem:    Can't build without TGETENT.
Solution:   Add #ifdef
  • Loading branch information
brammool committed May 10, 2018
1 parent 69e0569 commit 9289df5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/term.c
Expand Up @@ -1544,6 +1544,7 @@ static char *(key_names[]) =
};
#endif

#ifdef HAVE_TGETENT
static void
get_term_entries(int *height, int *width)
{
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1808,
/**/
1807,
/**/
Expand Down

0 comments on commit 9289df5

Please sign in to comment.