changeset 27422:7c233f560a7f v8.2.4239

patch 8.2.4239: build fails with unusual configuration Commit: https://github.com/vim/vim/commit/ddd815ba2a4191992d0f7d7b2902ba76a0db36ef Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 28 14:39:58 2022 +0000 patch 8.2.4239: build fails with unusual configuration Problem: Build fails with unusual configuration. Solution: Adjust #ifdef. (closes https://github.com/vim/vim/issues/9651)
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Jan 2022 15:45:03 +0100
parents f27bab8a8b2a
children 08180df8bb90
files src/testing.c src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testing.c
+++ b/src/testing.c
@@ -1345,7 +1345,7 @@ f_test_gui_mouse_event(typval_T *argvars
     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 *argva
     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;
 
--- 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,