1
0
forked from aniani/vim

patch 8.1.2373: cannot build with +popupwin but without +quickfix

Problem:    Cannot build with +popupwin but without +quickfix. (John Marriott)
Solution:   Adjust #ifdefs.
This commit is contained in:
Bram Moolenaar
2019-12-01 15:23:11 +01:00
parent 9625d3d92d
commit 5a4c3082d7
27 changed files with 218 additions and 135 deletions

View File

@@ -621,7 +621,7 @@ pum_redraw(void)
#endif
}
#if defined(FEAT_PROP_POPUP) && defined(FEAT_QUICKFIX)
#if (defined(FEAT_PROP_POPUP) && defined(FEAT_QUICKFIX)) || defined(PROTO)
/*
* Position the info popup relative to the popup menu item.
*/
@@ -683,7 +683,7 @@ pum_set_selected(int n, int repeat UNUSED)
#ifdef FEAT_QUICKFIX
int prev_selected = pum_selected;
#endif
#ifdef FEAT_PROP_POPUP
#if defined(FEAT_PROP_POPUP) && defined(FEAT_QUICKFIX)
int has_info = FALSE;
#endif