diff options
| author | Benjamin Peterson <benjamin@python.org> | 2017-09-04 23:36:05 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-04 23:36:05 (GMT) |
| commit | 069306312addf87252e2dbf250fc7632fc8b7da3 (patch) | |
| tree | 92917032b65208b37ce8aeca6011d3eea30ce205 /Modules/socketmodule.c | |
| parent | e1b0287c0440399e8cc855897113614fa5f6bc96 (diff) | |
| download | cpython-069306312addf87252e2dbf250fc7632fc8b7da3.zip cpython-069306312addf87252e2dbf250fc7632fc8b7da3.tar.gz cpython-069306312addf87252e2dbf250fc7632fc8b7da3.tar.bz2 | |
remove IRIX support (closes bpo-31341) (#3310)
See PEP 11.
Diffstat (limited to 'Modules/socketmodule.c')
| -rw-r--r-- | Modules/socketmodule.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index beadecf..37626e6 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -268,10 +268,8 @@ http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/net/getaddrinfo.c.diff?r1=1.82& #include <netdb.h> #endif -/* Irix 6.5 fails to define this variable at all. This is needed - for both GCC and SGI's compiler. I'd say that the SGI headers - are just busted. Same thing for Solaris. */ -#if (defined(__sgi) || defined(sun)) && !defined(INET_ADDRSTRLEN) +/* Solaris fails to define this variable at all. */ +#if defined(sun) && !defined(INET_ADDRSTRLEN) #define INET_ADDRSTRLEN 16 #endif |
