Patch 8.2.4769

3 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 17, 2022, 5:58:54 AM4/17/22
to vim...@googlegroups.com

Patch 8.2.4769
Problem: Build warning with UCRT.
Solution: Adjust #ifdef for _wenviron. (John Marriott)
Files: src/evalfunc.c


*** ../vim-8.2.4768/src/evalfunc.c 2022-04-16 10:40:59.081370588 +0100
--- src/evalfunc.c 2022-04-17 10:55:25.960562114 +0100
***************
*** 3673,3680 ****
#if !defined(AMIGA)
int i = 0;
char_u *entry, *value;
! # ifdef MSWIN
extern wchar_t **_wenviron;
# else
extern char **environ;
# endif
--- 3673,3682 ----
#if !defined(AMIGA)
int i = 0;
char_u *entry, *value;
! # if defined (MSWIN)
! # if !defined(_UCRT)
extern wchar_t **_wenviron;
+ # endif
# else
extern char **environ;
# endif
*** ../vim-8.2.4768/src/version.c 2022-04-16 21:46:35.096540795 +0100
--- src/version.c 2022-04-17 10:52:23.828734121 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4769,
/**/

--
hundred-and-one symptoms of being an internet addict:
3. Your bookmark takes 15 minutes to scroll from top to bottom.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages