Patch 8.2.4278
Problem:    Build with Athena GUI fails. (Elimar Riesebieter)
Solution:   Add #ifdef.
Files:      src/testing.c


*** ../vim-8.2.4277/src/testing.c       2022-01-31 17:39:45.394105533 +0000
--- src/testing.c       2022-02-01 10:12:44.551093682 +0000
***************
*** 1331,1336 ****
--- 1331,1337 ----
      return TRUE;
  }
  
+ #if defined(FIND_REPLACE_DIALOG)
      static int
  test_gui_find_repl(dict_T *args)
  {
***************
*** 1357,1362 ****
--- 1358,1364 ----
  
      return retval;
  }
+ #endif
  
      static int
  test_gui_mouse_event(dict_T *args)
***************
*** 1476,1483 ****
--- 1478,1487 ----
      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)
*** ../vim-8.2.4277/src/version.c       2022-01-31 18:59:09.844105727 +0000
--- src/version.c       2022-02-01 10:15:21.068537971 +0000
***************
*** 748,749 ****
--- 748,751 ----
  {   /* Add new patch number below this line */
+ /**/
+     4278,
  /**/

-- 
BEDEVERE: Wait.  Wait ... tell me, what also floats on water?
ALL:      Bread?  No, no, no.  Apples .... gravy ... very small rocks ...
ARTHUR:   A duck.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220201101754.9C78E1C0284%40moolenaar.net.

Raspunde prin e-mail lui