patch 8.0.0865: cannot build with channel but without terminal feature
Problem: Cannot build with channel but without terminal feature.
Solution: Add #ifdef
diff --git a/src/channel.c b/src/channel.c
index 801e370..9d791a9 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -4391,6 +4391,7 @@
return FAIL;
}
}
+#ifdef FEAT_TERMINAL
else if (STRCMP(hi->hi_key, "term_name") == 0)
{
if (!(supported & JO2_TERM_NAME))
@@ -4403,6 +4404,7 @@
return FAIL;
}
}
+#endif
else if (STRCMP(hi->hi_key, "waittime") == 0)
{
if (!(supported & JO_WAITTIME))
diff --git a/src/version.c b/src/version.c
index 9318740..bbbdbe3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 865,
+/**/
864,
/**/
863,