Skip to content

Commit 3d3f217

Browse files
committed
patch 8.1.1126: build failure with +terminal but without tgetent
Problem: Build failure with +terminal but without tgetent. Solution: Adjust #ifdef.
1 parent fa1e90c commit 3d3f217

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/ui.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,8 +628,9 @@ ui_new_shellsize(void)
628628
}
629629

630630
#if (defined(FEAT_EVAL) \
631-
&& (defined(FEAT_GUI) \
632-
|| (defined(HAVE_TGETENT) && defined(FEAT_TERMRESPONSE)))) \
631+
&& (defined(FEAT_GUI) \
632+
|| (defined(HAVE_TGETENT) && defined(FEAT_TERMRESPONSE)))) \
633+
|| defined(FEAT_TERMINAL) \
633634
|| defined(PROTO)
634635
/*
635636
* Get the window position in pixels, if possible.

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ static char *(features[]) =
771771

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1126,
774776
/**/
775777
1125,
776778
/**/

0 commit comments

Comments
 (0)