Skip to content

Commit c19e1d1

Browse files
committed
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)
1 parent c6f9f73 commit c19e1d1

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/osdef2.h.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ extern int free(char *);
88
extern char *malloc(unsigned int);
99
extern char *realloc(char *, int);
1010
extern char *getenv(char *);
11+
#ifndef __TANDEM
1112
extern int setenv(char *, char *, int);
13+
#else
14+
extern int setenv(const char *, const char *, int);
15+
#endif
1216
extern int putenv(const char *);
1317

1418
#ifndef __TANDEM

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ static char *(features[]) =
771771

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1506,
774776
/**/
775777
1505,
776778
/**/

0 commit comments

Comments
 (0)