[Python-checkins] CVS: python/dist/src/Modules socketmodule.c,1.141.2.4,1.141.2.5
Anthony Baxter
anthonybaxter@users.sourceforge.net
Thu, 01 Nov 2001 06:05:54 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv32546
Modified Files:
Tag: release21-maint
socketmodule.c
Log Message:
backport of MvL's 1.180
Test for __sun instead of __sun__, since SUNWspro only defines the latter;
gcc defines both.
...must get sparc box at home out of cupboard for testing this stuff...
Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.141.2.4
retrieving revision 1.141.2.5
diff -C2 -d -r1.141.2.4 -r1.141.2.5
*** socketmodule.c 2001/11/01 14:00:11 1.141.2.4
--- socketmodule.c 2001/11/01 14:05:52 1.141.2.5
***************
*** 88,92 ****
#if defined(_AIX) || defined(__osf__)
#define HAVE_GETHOSTBYNAME_R_3_ARG
! #elif defined(__sun__) || defined(__sgi)
#define HAVE_GETHOSTBYNAME_R_5_ARG
#elif defined(linux)
--- 88,92 ----
#if defined(_AIX) || defined(__osf__)
#define HAVE_GETHOSTBYNAME_R_3_ARG
! #elif defined(__sun) || defined(__sgi)
#define HAVE_GETHOSTBYNAME_R_5_ARG
#elif defined(linux)