summaryrefslogtreecommitdiff
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-01-09 12:58:11 +0100
committerBram Moolenaar <Bram@vim.org>2017-01-09 12:58:11 +0100
commit4d0504019cc744a5122821f187dd3adfe536afff (patch)
tree0ff57be19ed8e4af667dadcd1a53a42085cdcb32 /src/ex_getln.c
parentde33011ec623fd562419dede6bf465b5b9881a20 (diff)
downloadvim-git-4d0504019cc744a5122821f187dd3adfe536afff.tar.gz
patch 8.0.0161: can't build with small featuresv8.0.0161
Problem: Build fails when using small features. Solution: Update #ifdef for using save_ccline. (Hirohito Higashi)
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index cf99ae2a8..162e55590 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -212,7 +212,8 @@ getcmdline(
#endif
expand_T xpc;
long *b_im_ptr = NULL;
-#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) || defined(FEAT_SEARCH_EXTRA)
+#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) \
+ || defined(FEAT_SEARCH_EXTRA) || defined(FEAT_CMDWIN)
/* Everything that may work recursively should save and restore the
* current command line in save_ccline. That includes update_screen(), a
* custom status line may invoke ":normal". */