diff src/ui.c @ 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 c1698187c482
children e0a6298bd70f
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.