diff options
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r-- | lib/curl_setup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h index cc36e28ec..5d6e8d6f7 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -585,7 +585,7 @@ # define CURLRES_SYNCH #endif -#ifdef ENABLE_IPV6 +#if defined(ENABLE_IPV6) && defined(HAVE_GETADDRINFO) # define CURLRES_IPV6 #else # define CURLRES_IPV4 |