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.
This commit is contained in:
Daniel Stenberg 2025-02-21 14:56:21 +01:00
parent 17ab4d62e6
commit f261c8d992
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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)