From: Daniel Stenberg Date: Fri, 21 Feb 2025 13:56:21 +0000 (+0100) Subject: asyn-ares: renamed define X-Git-Tag: curl-8_13_0~390 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f261c8d992d29e80e33d81cd2566bd970df2becf;p=thirdparty%2Fcurl.git asyn-ares: renamed define It has the same name as the one used in asyn-thread, but for a slightly different purpose. This not only caused unity build problems, but would also be confusing and error-prone. --- diff --git a/lib/asyn-ares.c b/lib/asyn-ares.c index 30124a51bb..6d071969c3 100644 --- a/lib/asyn-ares.c +++ b/lib/asyn-ares.c @@ -71,7 +71,7 @@ #if ARES_VERSION < 0x011c00 #error "requires c-ares 1.28.0 or newer for HTTPSRR" #endif -#define USE_HTTPSRR_ARES +#define HTTPSRR_WORKS #else #if ARES_VERSION < 0x010600 #error "requires c-ares 1.6.0 or newer" @@ -423,7 +423,7 @@ CURLcode Curl_resolver_is_resolved(struct Curl_easy *data, result = Curl_resolver_error(data); if(!result) { *dns = data->state.async.dns; -#ifdef USE_HTTPSRR_ARES +#ifdef HTTPSRR_WORKS { struct Curl_https_rrinfo *lhrr = Curl_httpsrr_dup_move(&res->hinfo); if(!lhrr)