From d6ced230fe180588aee19ef2daf1ee55bc8de6d3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 26 Nov 2020 17:26:59 +0100 Subject: curl_setup: USE_RESOLVE_ON_IPS is for Apple native resolver use ... so don't define it when instructed to use c-ares! --- lib/curl_setup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1