mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.0.1841: HP-UX does not have setenv()
Problem: HP-UX does not have setenv(). Solution: Use vim_setenv(). (John Marriott)
This commit is contained in:
parent
027df2a7d9
commit
1af6a4b891
@ -4485,7 +4485,7 @@ vim_unsetenv(char_u *var)
|
|||||||
#ifdef HAVE_UNSETENV
|
#ifdef HAVE_UNSETENV
|
||||||
unsetenv((char *)var);
|
unsetenv((char *)var);
|
||||||
#else
|
#else
|
||||||
mch_setenv((char *)var, "", 0);
|
vim_setenv(var, (char_u *)"");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -761,6 +761,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 */
|
||||||
|
/**/
|
||||||
|
1841,
|
||||||
/**/
|
/**/
|
||||||
1840,
|
1840,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user