changeset 16243:3b79a3029947 v8.1.1126

patch 8.1.1126: build failure with +terminal but without tgetent commit https://github.com/vim/vim/commit/3d3f21764a8003b90216ae6fb988af1dae5f5d70 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 6 17:56:05 2019 +0200 patch 8.1.1126: build failure with +terminal but without tgetent Problem: Build failure with +terminal but without tgetent. Solution: Adjust #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 06 Apr 2019 18:00:06 +0200
parents eca5defefa66
children a15ec9bee99d
files src/ui.c src/version.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1126,
+/**/
     1125,
 /**/
     1124,