From: Bram Moolenaar Date: Sat, 6 Apr 2019 15:56:05 +0000 (+0200) Subject: patch 8.1.1126: build failure with +terminal but without tgetent X-Git-Tag: v8.1.1126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d3f21764a8003b90216ae6fb988af1dae5f5d70;p=vim patch 8.1.1126: build failure with +terminal but without tgetent Problem: Build failure with +terminal but without tgetent. Solution: Adjust #ifdef. --- diff --git a/src/ui.c b/src/ui.c index 44328521f..f78c570c8 100644 --- a/src/ui.c +++ b/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. diff --git a/src/version.c b/src/version.c index f9dd7cc21..9115a0047 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1126, /**/ 1125, /**/