summaryrefslogtreecommitdiff
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-09-04 16:36:05 -0700
committerGitHub <noreply@github.com>2017-09-04 16:36:05 -0700
commit069306312addf87252e2dbf250fc7632fc8b7da3 (patch)
tree92917032b65208b37ce8aeca6011d3eea30ce205 /Modules/socketmodule.c
parente1b0287c0440399e8cc855897113614fa5f6bc96 (diff)
downloadcpython-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.c6
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