]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ares: add definition for HTTPSRR_WORKS
authorNiall <Niall.oReilly@ucd.ie>
Wed, 23 Apr 2025 13:57:37 +0000 (14:57 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 23 Apr 2025 21:39:41 +0000 (23:39 +0200)
Closes #17157

lib/asyn-ares.c

index 147b4a743e8221100eef0e81d0bdbff12486751f..58dde9309aea5147ab07ac4fda18214053f86634 100644 (file)
 #define HAVE_CARES_GETADDRINFO 1
 #endif
 
+#ifdef USE_HTTPSRR
+#if ARES_VERSION < 0x011c00
+#error "requires c-ares 1.28.0 or newer for HTTPSRR"
+#endif
+#define HTTPSRR_WORKS
+#endif
+
 /* The last 3 #include files should be in this order */
 #include "curl_printf.h"
 #include "curl_memory.h"