mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.0.1506: new version of HP NonStop (Tandem) doesn't like a header
Problem: New version of HP NonStop (Tandem) doesn't like the default header for setenv(). Solution: Put a #ifdef around the setenv() entry. (Joachim Schmitz)
This commit is contained in:
@@ -8,7 +8,11 @@ extern int free(char *);
|
||||
extern char *malloc(unsigned int);
|
||||
extern char *realloc(char *, int);
|
||||
extern char *getenv(char *);
|
||||
#ifndef __TANDEM
|
||||
extern int setenv(char *, char *, int);
|
||||
#else
|
||||
extern int setenv(const char *, const char *, int);
|
||||
#endif
|
||||
extern int putenv(const char *);
|
||||
|
||||
#ifndef __TANDEM
|
||||
|
@@ -771,6 +771,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1506,
|
||||
/**/
|
||||
1505,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user