From: Bram Moolenaar Date: Fri, 15 Apr 2022 22:29:23 +0000 (+0100) Subject: patch 8.2.4756: build error without the +eval feature X-Git-Tag: v8.2.4756 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=092e09cba7d7c1aec22f50b974379131f2464d5f;p=thirdparty%2Fvim.git patch 8.2.4756: build error without the +eval feature Problem: Build error without the +eval feature. Solution: Adjust #ifdefs. --- diff --git a/src/misc1.c b/src/misc1.c index 9aa8ecfba8..632d222b6c 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 017557eb08..cb069bc47d 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, /**/