changeset 20476:77995c0a9e78 v8.2.0792

patch 8.2.0792: build failure with small features Commit: https://github.com/vim/vim/commit/c33b3216c8ceac84130d627b20cb7034e5f831e6 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 18 20:12:09 2020 +0200 patch 8.2.0792: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Mon, 18 May 2020 20:15:03 +0200
parents c37a2fea388c
children af956fb2230d
files src/popupwin.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -1757,6 +1757,7 @@ add_border_left_right_padding(win_T *wp)
     }
 }
 
+#ifdef FEAT_TERMINAL
 /*
  * Return TRUE if there is any popup window with a terminal buffer.
  */
@@ -1775,6 +1776,7 @@ popup_terminal_exists(void)
 		return TRUE;
     return FALSE;
 }
+#endif
 
 /*
  * popup_create({text}, {options})
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    792,
+/**/
     791,
 /**/
     790,