From: Guido van Rossum Date: Sat, 10 Apr 1999 15:46:01 +0000 (+0000) Subject: 3-arg gethostbyname_r doesn't really work on OSF/1. X-Git-Tag: v1.5.2~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbf8906f5de5da29602f9fa7034488d2dca51663;p=thirdparty%2FPython%2Fcpython.git 3-arg gethostbyname_r doesn't really work on OSF/1. --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index d37a2180186d..039023fce0e8 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