Mercurial > vim
changeset 13874:fc2f175e8169 v8.0.1808
patch 8.0.1808: can't build without TGETENT
commit https://github.com/vim/vim/commit/9289df5ca9546bda0e0046a45ceb66c6bb7a838f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 10 14:40:57 2018 +0200
patch 8.0.1808: can't build without TGETENT
Problem: Can't build without TGETENT.
Solution: Add #ifdef
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 10 May 2018 14:45:06 +0200 |
parents | 335eb5545909 |
children | a5ac84b6339e |
files | src/term.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c +++ b/src/term.c @@ -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)