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 611be04..740950f 100644
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -1360,7 +1360,9 @@
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 77e6e35..f6e0b76 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2199,
+/**/
2198,
/**/
2197,