diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-25 20:10:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-25 20:10:37 +0200 |
commit | 682725c1415f50681877df60257115a966e2a3d4 (patch) | |
tree | 910e5136455a9651344cb4e6de7adab6f798067b | |
parent | 4d784b21d14fc66e98a2b07f70343cdd4acd62aa (diff) | |
download | vim-git-682725c1415f50681877df60257115a966e2a3d4.tar.gz |
patch 8.1.1392: build failure in tiny versionv8.1.1392
Problem: Build failure in tiny version.
Solution: Define ex_popupclear to ex_ni if not implemented. Add UNUSED.
-rw-r--r-- | src/ex_docmd.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/window.c | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index c6e00bec5..9f127ec72 100644 --- 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[]. diff --git a/src/version.c b/src/version.c index 5573f44e5..f8e1d45de 100644 --- 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, diff --git a/src/window.c b/src/window.c index bed3d3fb7..4946a3ad3 100644 --- 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; |