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:
parent
396b7c78c0
commit
a720be78d7
@ -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);
|
||||
}
|
||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2199,
|
||||
/**/
|
||||
2198,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user