Mercurial > vim
comparison src/feature.h @ 4039:a8f5876e4981 v7.3.774
updated for version 7.3.774
Problem: Tiny GUI version misses console dialog feature.
Solution: Define FEAT_CON_DIALOG when apprpriate. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 23 Jan 2013 13:41:00 +0100 |
parents | c656847932d3 |
children | 36fd800b8c6c |
comparison
equal
deleted
inserted
replaced
4038:990d0f9400dc | 4039:a8f5876e4981 |
---|---|
790 # define FEAT_BROWSE | 790 # define FEAT_BROWSE |
791 # endif | 791 # endif |
792 #endif | 792 #endif |
793 | 793 |
794 /* | 794 /* |
795 * On some systems, when we compile with the GUI, we always use it. On Mac | |
796 * there is no terminal version, and on Windows we can't figure out how to | |
797 * fork one off with :gui. | |
798 */ | |
799 #if defined(FEAT_GUI_MSWIN) || (defined(FEAT_GUI_MAC) && !defined(MACOS_X_UNIX)) | |
800 # define ALWAYS_USE_GUI | |
801 #endif | |
802 | |
803 /* | |
795 * +dialog_gui Use GUI dialog. | 804 * +dialog_gui Use GUI dialog. |
796 * +dialog_con May use Console dialog. | 805 * +dialog_con May use Console dialog. |
797 * When none of these defined there is no dialog support. | 806 * When none of these defined there is no dialog support. |
798 */ | 807 */ |
799 #ifdef FEAT_NORMAL | 808 #ifdef FEAT_NORMAL |
818 #if defined(FEAT_GUI_DIALOG) && \ | 827 #if defined(FEAT_GUI_DIALOG) && \ |
819 (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) \ | 828 (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) \ |
820 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \ | 829 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \ |
821 || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC)) | 830 || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC)) |
822 # define FEAT_GUI_TEXTDIALOG | 831 # define FEAT_GUI_TEXTDIALOG |
832 # ifndef ALWAYS_USE_GUI | |
833 # define FEAT_CON_DIALOG | |
834 # endif | |
823 #endif | 835 #endif |
824 | 836 |
825 /* Mac specific thing: Codewarrior interface. */ | 837 /* Mac specific thing: Codewarrior interface. */ |
826 #ifdef FEAT_GUI_MAC | 838 #ifdef FEAT_GUI_MAC |
827 # define FEAT_CW_EDITOR | 839 # define FEAT_CW_EDITOR |