From 092e09cba7d7c1aec22f50b974379131f2464d5f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 15 Apr 2022 23:29:23 +0100 Subject: [PATCH] patch 8.2.4756: build error without the +eval feature Problem: Build error without the +eval feature. Solution: Adjust #ifdefs. --- src/misc1.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/misc1.c b/src/misc1.c index 9aa8ecfba..632d222b6 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -1899,7 +1899,6 @@ vim_getenv(char_u *name, int *mustfree) return p; } -#if defined(FEAT_EVAL) || defined(PROTO) void vim_unsetenv(char_u *var) { @@ -1925,6 +1924,7 @@ vim_unsetenv_ext(char_u *var) didset_vimruntime = FALSE; } +#if defined(FEAT_EVAL) || defined(PROTO) /* * Set environment variable "name" and take care of side effects. */ diff --git a/src/version.c b/src/version.c index 017557eb0..cb069bc47 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4756, /**/ 4755, /**/ -- 2.50.1