From 284d1c24e250494cf886b3548f1ecae5ad262da9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 1 Feb 2020 22:39:32 +0100 Subject: patch 8.2.0193: still build failure without +terminal feature Problem: Still build failure without +terminal feature. Solution: Add more #ifdefs. --- src/macros.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/macros.h') diff --git a/src/macros.h b/src/macros.h index ce226e3efe..68e3f97569 100644 --- 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() -# define ERROR_IF_TERM_POPUP_WINDOW error_if_term_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_TERM_POPUP_WINDOW 0 #endif -- cgit v1.2.3