Skip to content

Commit f7ac656

Browse files
authored
Remove vestigial code in socketmodule.c for Mac OS X 10.1 (#131090)
1 parent db1e582 commit f7ac656

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Modules/socketmodule.c

-15
Original file line numberDiff line numberDiff line change
@@ -427,21 +427,6 @@ remove_unusable_flags(PyObject *m)
427427
#endif
428428

429429
#ifdef __APPLE__
430-
/* On OS X, getaddrinfo returns no error indication of lookup
431-
failure, so we must use the emulation instead of the libinfo
432-
implementation. Unfortunately, performing an autoconf test
433-
for this bug would require DNS access for the machine performing
434-
the configuration, which is not acceptable. Therefore, we
435-
determine the bug just by checking for __APPLE__. If this bug
436-
gets ever fixed, perhaps checking for sys/version.h would be
437-
appropriate, which is 10/0 on the system with the bug. */
438-
#ifndef HAVE_GETNAMEINFO
439-
/* This bug seems to be fixed in Jaguar. The easiest way I could
440-
Find to check for Jaguar is that it has getnameinfo(), which
441-
older releases don't have */
442-
#undef HAVE_GETADDRINFO
443-
#endif
444-
445430
#ifdef HAVE_INET_ATON
446431
#define USE_INET_ATON_WEAKLINK
447432
#endif

0 commit comments

Comments
 (0)