]> granicus.if.org Git - vim/commitdiff
patch 8.2.4756: build error without the +eval feature v8.2.4756
authorBram Moolenaar <Bram@vim.org>
Fri, 15 Apr 2022 22:29:23 +0000 (23:29 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 15 Apr 2022 22:29:23 +0000 (23:29 +0100)
Problem:    Build error without the +eval feature.
Solution:   Adjust #ifdefs.

src/misc1.c
src/version.c

index 9aa8ecfba807da1a277ec25439d5636a6d458669..632d222b6c87f4c9bd1b924e386234576c9f6a0d 100644 (file)
@@ -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.
  */
index 017557eb08b5fe4e577b099bde2ee4005d473860..cb069bc47d2e3f627284734c33270b59be418ebb 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4756,
 /**/
     4755,
 /**/