diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-11-26 17:26:59 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-11-26 17:26:59 +0100 |
commit | d6ced230fe180588aee19ef2daf1ee55bc8de6d3 (patch) | |
tree | 808a54e204000f38de9898b31d8d71bce9cd84b5 | |
parent | 72ae6737e090dc42cb538e060eafd1e9c3f57249 (diff) | |
download | curl-d6ced230fe180588aee19ef2daf1ee55bc8de6d3.tar.gz |
curl_setup: USE_RESOLVE_ON_IPS is for Apple native resolver use
... so don't define it when instructed to use c-ares!
-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 59fb3fd53..22def2def 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -238,7 +238,7 @@ * interface doesn't support IPv4, but supports IPv6, NAT64, and DNS64, * performing this task will result in a synthesized IPv6 address. */ -#ifdef __APPLE__ +#if defined(__APPLE__) && !defined(USE_ARES) #define USE_RESOLVE_ON_IPS 1 #endif |