summaryrefslogtreecommitdiffstats
path: root/Modules/getaddrinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/getaddrinfo.c')
-rw-r--r--Modules/getaddrinfo.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/getaddrinfo.c b/Modules/getaddrinfo.c
index 7d07e53..67e6ce1 100644
--- a/Modules/getaddrinfo.c
+++ b/Modules/getaddrinfo.c
@@ -544,10 +544,6 @@ get_addr(hostname, af, res, pai, port0)
struct gai_afd *gai_afd;
int i, error = 0, h_error;
char *ap;
-#if !defined(INET6) && !defined(h_errno)
- /* In winsock.h, h_errno is #defined as a function call. */
- extern int h_errno;
-#endif
top = NULL;
sentinel.ai_next = NULL;