From: Bram Moolenaar Date: Sat, 22 Jun 2019 23:03:51 +0000 (+0200) Subject: patch 8.1.1582: cannot build with +textprop but without +timers X-Git-Tag: v8.1.1582 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0fcf26ba4ffaaa6a2fb8d879dc24b5f7e1bb6a13;p=vim patch 8.1.1582: cannot build with +textprop but without +timers Problem: Cannot build with +textprop but without +timers. Solution: Add #ifdef. (Ola Söder, closes #4574) --- diff --git a/src/popupwin.c b/src/popupwin.c index b0b67b191..d675a4484 100644 --- a/src/popupwin.c +++ b/src/popupwin.c @@ -1051,8 +1051,10 @@ popup_create(typval_T *argvars, typval_T *rettv, create_type_T type) // Deal with options. apply_options(wp, argvars[1].vval.v_dict); +#ifdef FEAT_TIMERS if (type == TYPE_NOTIFICATION && wp->w_popup_timer == NULL) popup_add_timeout(wp, 3000); +#endif popup_adjust_position(wp); diff --git a/src/version.c b/src/version.c index 042c9c123..2af29122c 100644 --- a/src/version.c +++ b/src/version.c @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1582, /**/ 1581, /**/