diff src/gui.c @ 3541:c44f0f7424b9 v7.3.531

updated for version 7.3.531 Problem: GUI does not work on MS-Windows. Solution: Add the missing #ifdef. (Patrick Avery)
author Bram Moolenaar <bram@vim.org>
date Sun, 27 May 2012 00:37:51 +0200
parents 81d5f3a3e27f
children b9aa7fb4a928
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -102,10 +102,12 @@ gui_start()
     else
 #endif
     {
+#ifdef FEAT_GUI_GTK
 	/* If there is 'f' in 'guioptions' and specify -g argument,
 	 * gui_mch_init_check() was not called yet.  */
 	if (gui_mch_init_check() != OK)
 	    exit(1);
+#endif
 	gui_attempt_start();
     }