summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-04-10 15:46:01 (GMT)
committerGuido van Rossum <guido@python.org>1999-04-10 15:46:01 (GMT)
commitcbf8906f5de5da29602f9fa7034488d2dca51663 (patch)
tree29f2d2e5eec667d78ead6e30220110c2359f5374 /Modules
parentdcb0a57874400a698999034996dc7623da777499 (diff)
downloadcpython-cbf8906f5de5da29602f9fa7034488d2dca51663.zip
cpython-cbf8906f5de5da29602f9fa7034488d2dca51663.tar.gz
cpython-cbf8906f5de5da29602f9fa7034488d2dca51663.tar.bz2
3-arg gethostbyname_r doesn't really work on OSF/1.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index d37a218..039023f 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -92,7 +92,7 @@ Socket methods:
#undef HAVE_GETHOSTBYNAME_R_6_ARG
#ifdef HAVE_GETHOSTBYNAME_R
-#if defined(_AIX) || defined(__osf__)
+#if defined(_AIX)
#define HAVE_GETHOSTBYNAME_R_3_ARG
#elif defined(__sun__) || defined(__sgi)
#define HAVE_GETHOSTBYNAME_R_5_ARG