summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-22 21:45:19 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-22 21:45:19 +0200
commita720be78d7978b3b853ff6c8af0d1721d6225378 (patch)
tree86bfec787293af7b530f243708a2904ec9a46393
parent396b7c78c0fd9cd07528963b18c27398491df40d (diff)
patch 8.1.2199: build failure when using normal features without GUIv8.1.2199
Problem: Build failure when using normal features without GUI and EXITFREE defined. Solution: Add #ifdef. (Dominique Pelle, closes #5106)
-rw-r--r--src/scriptfile.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c
index 611be04c85..740950f053 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 77e6e35bec..f6e0b76e65 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2199,
+/**/
2198,
/**/
2197,