]> granicus.if.org Git - vim/commitdiff
patch 8.0.0161: can't build with small features v8.0.0161
authorBram Moolenaar <Bram@vim.org>
Mon, 9 Jan 2017 11:58:11 +0000 (12:58 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 9 Jan 2017 11:58:11 +0000 (12:58 +0100)
Problem:    Build fails when using small features.
Solution:   Update #ifdef for using save_ccline. (Hirohito Higashi)

src/ex_getln.c
src/version.c

index cf99ae2a838de59487b2e348b5b6d23d15dbeab1..162e55590a549636e410c53836f301ce9fed830c 100644 (file)
@@ -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". */
index 641c72c40f4ad29610dc806b41f7546a7fb8a3c0..7f52cab802e3d645843032dc7f68cc18a3d84e18 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    161,
 /**/
     160,
 /**/