summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.h b/src/macros.h
index 72fc26af0..ca7e4b5d0 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -339,7 +339,7 @@
#define IS_USER_CMDIDX(idx) ((int)(idx) < 0)
// Give an error in curwin is a popup window and evaluate to TRUE.
-#ifdef FEAT_TEXT_PROP
+#ifdef FEAT_PROP_POPUP
# define ERROR_IF_POPUP_WINDOW error_if_popup_window()
#else
# define ERROR_IF_POPUP_WINDOW 0