]> granicus.if.org Git - vim/commitdiff
patch 8.2.0792: build failure with small features v8.2.0792
authorBram Moolenaar <Bram@vim.org>
Mon, 18 May 2020 18:12:09 +0000 (20:12 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 18 May 2020 18:12:09 +0000 (20:12 +0200)
Problem:    Build failure with small features.
Solution:   Add #ifdef.

src/popupwin.c
src/version.c

index 79021c38c9ab5827fd3e313545caf49ddfe2a323..cee848a13c98a68ae0bd917db2996344831e90d3 100644 (file)
@@ -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})
index 92f5660e5396c17125ae35182824894f40bb070e..14eca5f6a21589d9a792219fa2efcdd4270ecc44 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    792,
 /**/
     791,
 /**/