# HG changeset patch # User Bram Moolenaar # Date 1650189606 -7200 # Node ID 922cd0dced4b143cf856d032ee9716f1ac13e87b # Parent 2c570d802c041c6224b9f2d98b99c1b4ea219b10 patch 8.2.4769: build warning with UCRT Commit: https://github.com/vim/vim/commit/68aaff4697bab4a278436e6f7ae042262223e51c Author: Bram Moolenaar Date: Sun Apr 17 10:57:44 2022 +0100 patch 8.2.4769: build warning with UCRT Problem: Build warning with UCRT. Solution: Adjust #ifdef for _wenviron. (John Marriott) diff --git a/src/evalfunc.c b/src/evalfunc.c --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -3673,8 +3673,10 @@ f_environ(typval_T *argvars UNUSED, typv #if !defined(AMIGA) int i = 0; char_u *entry, *value; -# ifdef MSWIN +# if defined (MSWIN) +# if !defined(_UCRT) extern wchar_t **_wenviron; +# endif # else extern char **environ; # endif 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 */ /**/ + 4769, +/**/ 4768, /**/ 4767,