diff src/gui.c @ 20231:993d820196b9 v8.2.0671

patch 8.2.0671: Haiku: compiler warnings Commit: https://github.com/vim/vim/commit/9e175141f3437627c314257ebf894c29c71a9ded Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 30 22:51:01 2020 +0200 patch 8.2.0671: Haiku: compiler warnings Problem: Haiku: compiler warnings. Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sari, closes #6018)
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Apr 2020 23:00:05 +0200
parents 2c23053c654a
children bed30e6b5a09
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -5107,7 +5107,8 @@ gui_find_iconfile(char_u *name, char_u *
 # endif
 #endif
 
-#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) || defined(PROTO)
+#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11)|| defined(FEAT_GUI_HAIKU) \
+	|| defined(PROTO)
     void
 display_errors(void)
 {