Problem: Still can't build with small features.
Solution: Adjust #ifdefs.
#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.
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.
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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1613,
/**/
1612,
/**/