forked from aniani/vim
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:
parent
c6f9f739d3
commit
c19e1d1ba5
@ -8,7 +8,11 @@ extern int free(char *);
|
|||||||
extern char *malloc(unsigned int);
|
extern char *malloc(unsigned int);
|
||||||
extern char *realloc(char *, int);
|
extern char *realloc(char *, int);
|
||||||
extern char *getenv(char *);
|
extern char *getenv(char *);
|
||||||
|
#ifndef __TANDEM
|
||||||
extern int setenv(char *, char *, int);
|
extern int setenv(char *, char *, int);
|
||||||
|
#else
|
||||||
|
extern int setenv(const char *, const char *, int);
|
||||||
|
#endif
|
||||||
extern int putenv(const char *);
|
extern int putenv(const char *);
|
||||||
|
|
||||||
#ifndef __TANDEM
|
#ifndef __TANDEM
|
||||||
|
@ -771,6 +771,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 */
|
||||||
|
/**/
|
||||||
|
1506,
|
||||||
/**/
|
/**/
|
||||||
1505,
|
1505,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user