# HG changeset patch # User Bram Moolenaar # Date 1650061803 -7200 # Node ID 8bf3198ca147e43c76fc2d3509ff28c5fbe992cd # Parent 5a16a328362455049020bb01fe58b019efbea41c patch 8.2.4756: build error without the +eval feature Commit: https://github.com/vim/vim/commit/092e09cba7d7c1aec22f50b974379131f2464d5f Author: Bram Moolenaar Date: Fri Apr 15 23:29:23 2022 +0100 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4756, +/**/ 4755, /**/ 4754,