forked from aniani/vim
patch 8.1.1126: build failure with +terminal but without tgetent
Problem: Build failure with +terminal but without tgetent. Solution: Adjust #ifdef.
This commit is contained in:
parent
fa1e90cd4d
commit
3d3f21764a
5
src/ui.c
5
src/ui.c
@ -628,8 +628,9 @@ ui_new_shellsize(void)
|
||||
}
|
||||
|
||||
#if (defined(FEAT_EVAL) \
|
||||
&& (defined(FEAT_GUI) \
|
||||
|| (defined(HAVE_TGETENT) && defined(FEAT_TERMRESPONSE)))) \
|
||||
&& (defined(FEAT_GUI) \
|
||||
|| (defined(HAVE_TGETENT) && defined(FEAT_TERMRESPONSE)))) \
|
||||
|| defined(FEAT_TERMINAL) \
|
||||
|| defined(PROTO)
|
||||
/*
|
||||
* Get the window position in pixels, if possible.
|
||||
|
@ -771,6 +771,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1126,
|
||||
/**/
|
||||
1125,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user