]> granicus.if.org Git - vim/commitdiff
patch 8.2.4239: build fails with unusual configuration v8.2.4239
authorBram Moolenaar <Bram@vim.org>
Fri, 28 Jan 2022 14:39:58 +0000 (14:39 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 28 Jan 2022 14:39:58 +0000 (14:39 +0000)
Problem:    Build fails with unusual configuration.
Solution:   Adjust #ifdef. (closes #9651)

src/testing.c
src/version.c

index 4e688a71d005f9eb8741f15cdb69b05907ed3853..9367f3c394cdb001b42b5ee25b15f9f2a0f746f1 100644 (file)
@@ -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;
 
index fa2c41925955a17a8da340834291847b0e442bd6..3d37eec6a276c326b4480f220c15c618b5cd5fc1 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4239,
 /**/
     4238,
 /**/