comparison src/testing.c @ 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 557a50b0d10b
children b43f6c879d52
comparison
equal deleted inserted replaced
27421:f27bab8a8b2a 27422:7c233f560a7f
1343 } 1343 }
1344 1344
1345 void 1345 void
1346 f_test_gui_tabline_event(typval_T *argvars UNUSED, typval_T *rettv UNUSED) 1346 f_test_gui_tabline_event(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
1347 { 1347 {
1348 # ifdef FEAT_GUI 1348 # ifdef FEAT_GUI_TABLINE
1349 int tabnr; 1349 int tabnr;
1350 1350
1351 if (check_for_number_arg(argvars, 0) == FAIL) 1351 if (check_for_number_arg(argvars, 0) == FAIL)
1352 return; 1352 return;
1353 1353
1359 } 1359 }
1360 1360
1361 void 1361 void
1362 f_test_gui_tabmenu_event(typval_T *argvars UNUSED, typval_T *rettv UNUSED) 1362 f_test_gui_tabmenu_event(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
1363 { 1363 {
1364 # ifdef FEAT_GUI 1364 # ifdef FEAT_GUI_TABLINE
1365 int tabnr; 1365 int tabnr;
1366 int event; 1366 int event;
1367 1367
1368 if (check_for_number_arg(argvars, 0) == FAIL 1368 if (check_for_number_arg(argvars, 0) == FAIL
1369 || check_for_number_arg(argvars, 1) == FAIL) 1369 || check_for_number_arg(argvars, 1) == FAIL)