From: Bram Moolenaar Date: Fri, 28 Jan 2022 14:39:58 +0000 (+0000) Subject: patch 8.2.4239: build fails with unusual configuration X-Git-Tag: v8.2.4239 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ddd815ba2a4191992d0f7d7b2902ba76a0db36ef;p=vim patch 8.2.4239: build fails with unusual configuration Problem: Build fails with unusual configuration. Solution: Adjust #ifdef. (closes #9651) --- diff --git a/src/testing.c b/src/testing.c index 4e688a71d..9367f3c39 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 fa2c41925..3d37eec6a 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4239, /**/ 4238, /**/