mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
Patch #608999: Fix portability problems with MIPSPro 7.x
This commit is contained in:
parent
c34c4fc3ab
commit
8eb92a014b
3 changed files with 20 additions and 0 deletions
|
@ -155,6 +155,14 @@ shutdown(how) -- shut down traffic in one or both directions\n\
|
|||
# include <os2.h>
|
||||
#endif
|
||||
|
||||
#if defined(__sgi)&&_COMPILER_VERSION>700 && !_SGIAPI
|
||||
/* make sure that the reentrant (gethostbyaddr_r etc)
|
||||
functions are declared correctly if compiling with
|
||||
MIPSPro 7.x in ANSI C mode (default) */
|
||||
#define _SGIAPI 1
|
||||
#include "netdb.h"
|
||||
#endif
|
||||
|
||||
/* Generic includes */
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue