Skip to content

Commit 5a66dfb

Browse files
committed
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)
1 parent 59716a2 commit 5a66dfb

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/message.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ emsg_not_now(void)
539539
return FALSE;
540540
}
541541

542-
#ifdef FEAT_EVAL
542+
#if defined(FEAT_EVAL) || defined(PROTO)
543543
static garray_T ignore_error_list = GA_EMPTY;
544544

545545
void

src/misc2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2099,7 +2099,7 @@ ga_concat_strings(garray_T *gap, char *sep)
20992099
return s;
21002100
}
21012101

2102-
#if defined(FEAT_VIMINFO) || defined(PROTO)
2102+
#if defined(FEAT_VIMINFO) || defined(FEAT_EVAL) || defined(PROTO)
21032103
/*
21042104
* Make a copy of string "p" and add it to "gap".
21052105
* When out of memory nothing changes.

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
397,
767769
/**/
768770
396,
769771
/**/

0 commit comments

Comments
 (0)