Patch #608999: Fix portability problems with MIPSPro 7.x

This commit is contained in:
Martin v. Löwis 2002-09-19 08:03:21 +00:00
parent c34c4fc3ab
commit 8eb92a014b
3 changed files with 20 additions and 0 deletions

View file

@ -129,6 +129,12 @@ extern int lstat(const char *, struct stat *);
extern int symlink(const char *, const char *);
#endif
#if defined(__sgi)&&_COMPILER_VERSION>=700
/* declare ctermid_r if compiling with MIPSPro 7.x in ANSI C mode
(default) */
extern char *ctermid_r(char *);
#endif
#ifndef HAVE_UNISTD_H
#if defined(PYCC_VACPP)
extern int mkdir(char *);