Use configure to check for inet_aton.

This commit is contained in:
Neal Norwitz 2003-02-13 02:11:10 +00:00
parent 3ea7cc3cbe
commit 10b214c2fd
4 changed files with 8 additions and 4 deletions

View file

@ -2713,7 +2713,7 @@ socket_inet_aton(PyObject *self, PyObject *args)
/* Have to use inet_addr() instead */
char *ip_addr;
#if 1
#if HAVE_INET_ATON
struct in_addr buf;
if (!PyArg_ParseTuple(args, "s:inet_aton", &ip_addr)) {