diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-01 10:16:00 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-01 10:16:00 +0000 |
commit | 4e3b3182307444f205a5f35e257c651f0f3717ad (patch) | |
tree | fb5ca592e54a3d2a759737bd74e221679f30c847 | |
parent | 68854a82fdedebf6ee0675d1abeae6fc627ff6bb (diff) | |
download | vim-git-4e3b3182307444f205a5f35e257c651f0f3717ad.tar.gz |
patch 8.2.4278: build with Athena GUI failsv8.2.4278
Problem: Build with Athena GUI fails. (Elimar Riesebieter)
Solution: Add #ifdef.
-rw-r--r-- | src/testing.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/testing.c b/src/testing.c index 6fcbaa72a..448c01c1e 100644 --- a/src/testing.c +++ b/src/testing.c @@ -1331,6 +1331,7 @@ test_gui_drop_files(dict_T *args UNUSED) return TRUE; } +#if defined(FIND_REPLACE_DIALOG) static int test_gui_find_repl(dict_T *args) { @@ -1357,6 +1358,7 @@ test_gui_find_repl(dict_T *args) return retval; } +#endif static int test_gui_mouse_event(dict_T *args) @@ -1476,8 +1478,10 @@ f_test_gui_event(typval_T *argvars UNUSED, typval_T *rettv UNUSED) event = tv_get_string(&argvars[0]); if (STRCMP(event, "dropfiles") == 0) rettv->vval.v_number = test_gui_drop_files(argvars[1].vval.v_dict); +# if defined(FIND_REPLACE_DIALOG) else if (STRCMP(event, "findrepl") == 0) rettv->vval.v_number = test_gui_find_repl(argvars[1].vval.v_dict); +# endif else if (STRCMP(event, "mouse") == 0) rettv->vval.v_number = test_gui_mouse_event(argvars[1].vval.v_dict); else if (STRCMP(event, "scrollbar") == 0) diff --git a/src/version.c b/src/version.c index 0dc936ab3..955047888 100644 --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4278, +/**/ 4277, /**/ 4276, |