Mercurial > vim
changeset 19269:a8a915898b35 v8.2.0193
patch 8.2.0193: still build failure without +terminal feature
Commit: https://github.com/vim/vim/commit/284d1c24e250494cf886b3548f1ecae5ad262da9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 1 22:39:32 2020 +0100
patch 8.2.0193: still build failure without +terminal feature
Problem: Still build failure without +terminal feature.
Solution: Add more #ifdefs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Feb 2020 22:45:04 +0100 |
parents | dc1310465268 |
children | 6eca0794f137 |
files | src/macros.h src/version.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/macros.h +++ b/src/macros.h @@ -345,9 +345,12 @@ // Give an error in curwin is a popup window and evaluate to TRUE. #ifdef FEAT_PROP_POPUP # define ERROR_IF_POPUP_WINDOW error_if_popup_window() +#else +# define ERROR_IF_POPUP_WINDOW 0 +#endif +#if defined(FEAT_PROP_POPUP) && defined(FEAT_TERMINAL) # define ERROR_IF_TERM_POPUP_WINDOW error_if_term_popup_window() #else -# define ERROR_IF_POPUP_WINDOW 0 # define ERROR_IF_TERM_POPUP_WINDOW 0 #endif