diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-06 17:56:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-06 17:56:05 +0200 |
commit | 3d3f21764a8003b90216ae6fb988af1dae5f5d70 (patch) | |
tree | 0c4f9499d96d2296348bdc4907bf0c868a5bd1e9 /src/ui.c | |
parent | fa1e90cd4d1bebd66da22df4625f70963f091f17 (diff) | |
download | vim-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.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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. |