# HG changeset patch # User Christian Brabandt # Date 1488397506 -3600 # Node ID 4e7308525fe723c6f959e2db8e880610c8aee63a # Parent 53ecc645c32db54c27bdcf0b3c0f8b8199305deb patch 8.0.0397: can't build with +viminfo but without +eval commit https://github.com/vim/vim/commit/5a66dfb25eb478c26176d993393a3b1b124edb39 Author: Bram Moolenaar Date: Wed Mar 1 20:40:39 2017 +0100 patch 8.0.0397: can't build with +viminfo but without +eval Problem: Cannot build with the viminfo feature but without the eval feature. Solution: Adjust #ifdef. (John Marriott) diff --git a/src/message.c b/src/message.c --- a/src/message.c +++ b/src/message.c @@ -539,7 +539,7 @@ emsg_not_now(void) return FALSE; } -#ifdef FEAT_EVAL +#if defined(FEAT_EVAL) || defined(PROTO) static garray_T ignore_error_list = GA_EMPTY; void diff --git a/src/misc2.c b/src/misc2.c --- a/src/misc2.c +++ b/src/misc2.c @@ -2099,7 +2099,7 @@ ga_concat_strings(garray_T *gap, char *s return s; } -#if defined(FEAT_VIMINFO) || defined(PROTO) +#if defined(FEAT_VIMINFO) || defined(FEAT_EVAL) || defined(PROTO) /* * Make a copy of string "p" and add it to "gap". * When out of memory nothing changes. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 397, +/**/ 396, /**/ 395,