updated for version 7.0018
diff --git a/src/gui.h b/src/gui.h
index 02028f2..bcb36de 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -542,8 +542,7 @@
 }
 gui_win_pos_T;
 
-#if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE) \
-	|| defined(MSWIN_FIND_REPLACE)
+#ifdef FIND_REPLACE_DIALOG
 /*
  * Flags used to distinguish the different contexts in which the
  * find/replace callback may be called.