[Python-checkins] python/dist/src/Modules socketmodule.c,1.253,1.254

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Wed, 12 Feb 2003 18:11:12 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv18177/Modules

Modified Files:
	socketmodule.c 
Log Message:
Use configure to check for inet_aton.


Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.253
retrieving revision 1.254
diff -C2 -d -r1.253 -r1.254
*** socketmodule.c	12 Feb 2003 23:08:22 -0000	1.253
--- socketmodule.c	13 Feb 2003 02:11:10 -0000	1.254
***************
*** 2714,2718 ****
  	/* Have to use inet_addr() instead */
  	char *ip_addr;
! #if 1
  	struct in_addr buf;
  
--- 2714,2718 ----
  	/* Have to use inet_addr() instead */
  	char *ip_addr;
! #if HAVE_INET_ATON
  	struct in_addr buf;