]> granicus.if.org Git - vim/commitdiff
patch 8.1.1126: build failure with +terminal but without tgetent v8.1.1126
authorBram Moolenaar <Bram@vim.org>
Sat, 6 Apr 2019 15:56:05 +0000 (17:56 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 6 Apr 2019 15:56:05 +0000 (17:56 +0200)
Problem:    Build failure with +terminal but without tgetent.
Solution:   Adjust #ifdef.

src/ui.c
src/version.c

index 44328521f5b52d9f30cd463ad90e46a7f6cae238..f78c570c8df6c1747ceaaa271943b32c593766ea 100644 (file)
--- 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.
index f9dd7cc215c7d01517a9bde490a973db6500c49b..9115a0047dd95bd066b5e35b1977573d6bb5d305 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1126,
 /**/
     1125,
 /**/