From: Bram Moolenaar Date: Tue, 22 Oct 2019 19:45:19 +0000 (+0200) Subject: patch 8.1.2199: build failure when using normal features without GUI X-Git-Tag: v8.1.2199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a720be78d7978b3b853ff6c8af0d1721d6225378;p=vim patch 8.1.2199: build failure when using normal features without GUI Problem: Build failure when using normal features without GUI and EXITFREE defined. Solution: Add #ifdef. (Dominique Pelle, closes #5106) --- diff --git a/src/scriptfile.c b/src/scriptfile.c index 611be04c8..740950f05 100644 --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -1360,7 +1360,9 @@ free_scriptnames(void) for (i = script_items.ga_len; i > 0; --i) { vim_free(SCRIPT_ITEM(i).sn_name); +# ifdef FEAT_PROFILE ga_clear(&SCRIPT_ITEM(i).sn_prl_ga); +# endif } ga_clear(&script_items); } diff --git a/src/version.c b/src/version.c index 77e6e35be..f6e0b76e6 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2199, /**/ 2198, /**/