diff options
author | Benjamin Peterson <benjamin@python.org> | 2017-09-04 16:36:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-04 16:36:05 -0700 |
commit | 069306312addf87252e2dbf250fc7632fc8b7da3 (patch) | |
tree | 92917032b65208b37ce8aeca6011d3eea30ce205 /Modules/socketmodule.c | |
parent | e1b0287c0440399e8cc855897113614fa5f6bc96 (diff) | |
download | cpython-git-069306312addf87252e2dbf250fc7632fc8b7da3.tar.gz |
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 beadecfad5..37626e67cb 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 |