changeset 16780:491c01280a5d v8.1.1392

patch 8.1.1392: build failure in tiny version commit https://github.com/vim/vim/commit/682725c1415f50681877df60257115a966e2a3d4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 25 20:10:37 2019 +0200 patch 8.1.1392: build failure in tiny version Problem: Build failure in tiny version. Solution: Define ex_popupclear to ex_ni if not implemented. Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Sat, 25 May 2019 20:15:04 +0200
parents 7b747af07206
children db5dc8db015c
files src/ex_docmd.c src/version.c src/window.c
diffstat 3 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -397,6 +397,9 @@ static void	ex_folddo(exarg_T *eap);
 #if !defined(FEAT_X11) || !defined(FEAT_XCLIPBOARD)
 # define ex_xrestore		ex_ni
 #endif
+#if !defined(FEAT_TEXT_PROP)
+# define ex_popupclear		ex_ni
+#endif
 
 /*
  * Declare cmdnames[].
--- a/src/version.c
+++ b/src/version.c
@@ -768,6 +768,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1392,
+/**/
     1391,
 /**/
     1390,
--- a/src/window.c
+++ b/src/window.c
@@ -1363,7 +1363,7 @@ win_init_some(win_T *newp, win_T *oldp)
 }
 
     static int
-win_valid_popup(win_T *win)
+win_valid_popup(win_T *win UNUSED)
 {
 #ifdef FEAT_TEXT_PROP
     win_T	*wp;