summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-28 14:39:58 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-28 14:39:58 +0000
commitddd815ba2a4191992d0f7d7b2902ba76a0db36ef (patch)
tree5d85ded06781c507262e13963829ef02117f3f99
parentbd8168c7705e315827642f2976ec59e26b7fe009 (diff)
patch 8.2.4239: build fails with unusual configurationv8.2.4239
Problem: Build fails with unusual configuration. Solution: Adjust #ifdef. (closes #9651)
-rw-r--r--src/testing.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/testing.c b/src/testing.c
index 4e688a71d0..9367f3c394 100644
--- a/src/testing.c
+++ b/src/testing.c
@@ -1345,7 +1345,7 @@ f_test_gui_mouse_event(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
void
f_test_gui_tabline_event(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
{
-# ifdef FEAT_GUI
+# ifdef FEAT_GUI_TABLINE
int tabnr;
if (check_for_number_arg(argvars, 0) == FAIL)
@@ -1361,7 +1361,7 @@ f_test_gui_tabline_event(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
void
f_test_gui_tabmenu_event(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
{
-# ifdef FEAT_GUI
+# ifdef FEAT_GUI_TABLINE
int tabnr;
int event;
diff --git a/src/version.c b/src/version.c
index fa2c419259..3d37eec6a2 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4239,
+/**/
4238,
/**/
4237,