]> granicus.if.org Git - vim/commitdiff
patch 7.4.1613 v7.4.1613
authorBram Moolenaar <Bram@vim.org>
Sat, 19 Mar 2016 21:50:43 +0000 (22:50 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 19 Mar 2016 21:50:43 +0000 (22:50 +0100)
Problem:    Still can't build with small features.
Solution:   Adjust #ifdefs.

src/ex_getln.c
src/version.c

index 27e23c72d60696d0256da98bf7e42beedbf6f95d..8419d3f2c23def7abe8390b54dc5fb364a470671 100644 (file)
@@ -5861,7 +5861,7 @@ remove_key_from_history(void)
 
 #endif /* FEAT_CMDHIST */
 
-#if defined(FEAT_EVAL) || defined(PROTO)
+#if defined(FEAT_EVAL) || defined(FEAT_CMDWIN) || defined(PROTO)
 /*
  * Get pointer to the command line info to use. cmdline_paste() may clear
  * ccline and put the previous value in prev_ccline.
@@ -5877,7 +5877,9 @@ get_ccline_ptr(void)
        return &prev_ccline;
     return NULL;
 }
+#endif
 
+#if defined(FEAT_EVAL) || defined(PROTO)
 /*
  * Get the current command line in allocated memory.
  * Only works when the command line is being edited.
@@ -5948,7 +5950,11 @@ get_cmdline_type(void)
     if (p == NULL)
        return NUL;
     if (p->cmdfirstc == NUL)
-       return (p->input_fn) ? '@' : '-';
+       return
+# ifdef FEAT_EVAL
+           (p->input_fn) ? '@' :
+# endif
+           '-';
     return p->cmdfirstc;
 }
 #endif
index 39193addc01117b489f3754415a63de01c41d274..feedb8d2104c47c07c084582c314c3e6ef41e0f2 100644 (file)
@@ -748,6 +748,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1613,
 /**/
     1612,
 /**/