]> sjero.net Git - wget/blobdiff - src/url.c
[svn] IPv6 configure auto-detection.
[wget] / src / url.c
index 5435f9bc0709ab12801d3deeefa50fcb07588323..eac1cfdd193a44556777910221501e10436ba521 100644 (file)
--- a/src/url.c
+++ b/src/url.c
@@ -660,7 +660,7 @@ static char *parse_errors[] = {
     *(p) = (v);                                        \
 } while (0)
 
-#ifdef INET6
+#ifdef ENABLE_IPV6
 /* The following two functions were adapted from glibc. */
 
 static int
@@ -863,7 +863,7 @@ url_parse (const char *url, int *error)
          return NULL;
        }
 
-#ifdef INET6
+#ifdef ENABLE_IPV6
       /* Check if the IPv6 address is valid. */
       if (!is_valid_ipv6_address(host_b, host_e))
        {