0
0
mirror of https://github.com/vim/vim.git synced 2025-09-17 02:48:10 -04:00

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)
This commit is contained in:
Bram Moolenaar 2019-10-22 21:45:19 +02:00
parent 396b7c78c0
commit a720be78d7
2 changed files with 4 additions and 0 deletions

View File

@ -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);
}

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2199,
/**/
2198,
/**/