Mercurial > vim
changeset 28463:8bf3198ca147 v8.2.4756
patch 8.2.4756: build error without the +eval feature
Commit: https://github.com/vim/vim/commit/092e09cba7d7c1aec22f50b974379131f2464d5f
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Apr 2022 00:30:03 +0200 |
parents | 5a16a3283624 |
children | 6d96ebc6cb26 |
files | src/misc1.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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. */