1
0
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:
Bram Moolenaar 2018-02-12 20:58:11 +01:00
parent c6f9f739d3
commit c19e1d1ba5
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1506,
/**/
1505,
/**/