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
index ab193f0..a4d2cc8 100644
--- a/src/message.c
+++ b/src/message.c
@@ -539,7 +539,7 @@
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
index 992e5c2..cfdfc4c 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -2099,7 +2099,7 @@
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
index 0c9731d..26b5455 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 397,
+/**/
396,
/**/
395,