]> granicus.if.org Git - python/commitdiff
Ummm, try to get it right this time
authorNeal Norwitz <nnorwitz@gmail.com>
Thu, 13 Feb 2003 02:15:42 +0000 (02:15 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Thu, 13 Feb 2003 02:15:42 +0000 (02:15 +0000)
Modules/socketmodule.c

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