Mercurial > vim
comparison src/macros.h @ 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 | ce8c47ed54e5 |
children | ebeeb4b4a1fa |
comparison
equal
deleted
inserted
replaced
19268:dc1310465268 | 19269:a8a915898b35 |
---|---|
343 #define IS_USER_CMDIDX(idx) ((int)(idx) < 0) | 343 #define IS_USER_CMDIDX(idx) ((int)(idx) < 0) |
344 | 344 |
345 // Give an error in curwin is a popup window and evaluate to TRUE. | 345 // Give an error in curwin is a popup window and evaluate to TRUE. |
346 #ifdef FEAT_PROP_POPUP | 346 #ifdef FEAT_PROP_POPUP |
347 # define ERROR_IF_POPUP_WINDOW error_if_popup_window() | 347 # define ERROR_IF_POPUP_WINDOW error_if_popup_window() |
348 #else | |
349 # define ERROR_IF_POPUP_WINDOW 0 | |
350 #endif | |
351 #if defined(FEAT_PROP_POPUP) && defined(FEAT_TERMINAL) | |
348 # define ERROR_IF_TERM_POPUP_WINDOW error_if_term_popup_window() | 352 # define ERROR_IF_TERM_POPUP_WINDOW error_if_term_popup_window() |
349 #else | 353 #else |
350 # define ERROR_IF_POPUP_WINDOW 0 | |
351 # define ERROR_IF_TERM_POPUP_WINDOW 0 | 354 # define ERROR_IF_TERM_POPUP_WINDOW 0 |
352 #endif | 355 #endif |
353 | 356 |
354 | 357 |
355 #ifdef ABORT_ON_INTERNAL_ERROR | 358 #ifdef ABORT_ON_INTERNAL_ERROR |