mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -1360,7 +1360,9 @@ free_scriptnames(void)
|
|||||||
for (i = script_items.ga_len; i > 0; --i)
|
for (i = script_items.ga_len; i > 0; --i)
|
||||||
{
|
{
|
||||||
vim_free(SCRIPT_ITEM(i).sn_name);
|
vim_free(SCRIPT_ITEM(i).sn_name);
|
||||||
|
# ifdef FEAT_PROFILE
|
||||||
ga_clear(&SCRIPT_ITEM(i).sn_prl_ga);
|
ga_clear(&SCRIPT_ITEM(i).sn_prl_ga);
|
||||||
|
# endif
|
||||||
}
|
}
|
||||||
ga_clear(&script_items);
|
ga_clear(&script_items);
|
||||||
}
|
}
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2199,
|
||||||
/**/
|
/**/
|
||||||
2198,
|
2198,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user