summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-02-13 02:11:10 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-02-13 02:11:10 (GMT)
commit10b214c2fd837d534eda75510a118f862d57da02 (patch)
treeac24e35afbcca13685061a4fefeffc2591612e62 /Modules/socketmodule.c
parent3ea7cc3cbe8944a19e8b61e5b27c3904b79c3364 (diff)
downloadcpython-10b214c2fd837d534eda75510a118f862d57da02.zip
cpython-10b214c2fd837d534eda75510a118f862d57da02.tar.gz
cpython-10b214c2fd837d534eda75510a118f862d57da02.tar.bz2
Use configure to check for inet_aton.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 26e5e01..d3ace6b 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -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)) {