From f939c4e6b176d89626eff5fe9a0b01a5bbb40ef5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 23 Jan 2013 13:41:00 +0100 Subject: updated for version 7.3.774 Problem: Tiny GUI version misses console dialog feature. Solution: Define FEAT_CON_DIALOG when apprpriate. (Christian Brabandt) --- src/feature.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/feature.h') diff --git a/src/feature.h b/src/feature.h index 7ef654bb3..f54f59ac9 100644 --- a/src/feature.h +++ b/src/feature.h @@ -791,6 +791,15 @@ # endif #endif +/* + * On some systems, when we compile with the GUI, we always use it. On Mac + * there is no terminal version, and on Windows we can't figure out how to + * fork one off with :gui. + */ +#if defined(FEAT_GUI_MSWIN) || (defined(FEAT_GUI_MAC) && !defined(MACOS_X_UNIX)) +# define ALWAYS_USE_GUI +#endif + /* * +dialog_gui Use GUI dialog. * +dialog_con May use Console dialog. @@ -820,6 +829,9 @@ || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \ || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC)) # define FEAT_GUI_TEXTDIALOG +# ifndef ALWAYS_USE_GUI +# define FEAT_CON_DIALOG +# endif #endif /* Mac specific thing: Codewarrior interface. */ -- cgit v1.2.3