From 3d3f21764a8003b90216ae6fb988af1dae5f5d70 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 6 Apr 2019 17:56:05 +0200 Subject: [PATCH] patch 8.1.1126: build failure with +terminal but without tgetent Problem: Build failure with +terminal but without tgetent. Solution: Adjust #ifdef. --- src/ui.c | 5 +++-- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) 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, /**/ -- 2.50.1