summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-06 17:56:05 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-06 17:56:05 +0200
commit3d3f21764a8003b90216ae6fb988af1dae5f5d70 (patch)
tree0c4f9499d96d2296348bdc4907bf0c868a5bd1e9 /src/ui.c
parentfa1e90cd4d1bebd66da22df4625f70963f091f17 (diff)
downloadvim-git-3d3f21764a8003b90216ae6fb988af1dae5f5d70.tar.gz
patch 8.1.1126: build failure with +terminal but without tgetentv8.1.1126
Problem: Build failure with +terminal but without tgetent. Solution: Adjust #ifdef.
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c5
1 files changed, 3 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.