mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.4769: build warning with UCRT
Problem: Build warning with UCRT. Solution: Adjust #ifdef for _wenviron. (John Marriott)
This commit is contained in:
@@ -3673,8 +3673,10 @@ f_environ(typval_T *argvars UNUSED, typval_T *rettv)
|
|||||||
#if !defined(AMIGA)
|
#if !defined(AMIGA)
|
||||||
int i = 0;
|
int i = 0;
|
||||||
char_u *entry, *value;
|
char_u *entry, *value;
|
||||||
# ifdef MSWIN
|
# if defined (MSWIN)
|
||||||
|
# if !defined(_UCRT)
|
||||||
extern wchar_t **_wenviron;
|
extern wchar_t **_wenviron;
|
||||||
|
# endif
|
||||||
# else
|
# else
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
# endif
|
# endif
|
||||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4769,
|
||||||
/**/
|
/**/
|
||||||
4768,
|
4768,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user