Problem: Build failure without the +eval feature.
Solution: Add #ifdef
{
aco_save_T aco;
+#ifdef FEAT_EVAL
// Sync undo when the autocommand calls setline() or append(), so that
// it can be undone separately.
u_sync_once = 2;
+#endif
// save and restore curwin and curbuf, in case the autocmd changes them
aucmd_prepbuf(&aco, curbuf);
aucmd_restbuf(&aco);
curbuf->b_last_changedtick = CHANGEDTICK(curbuf);
+#ifdef FEAT_EVAL
if (u_sync_once == 1)
ins_need_undo = TRUE;
u_sync_once = 0;
+#endif
}
#ifdef FEAT_INS_EXPAND
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 246,
/**/
245,
/**/