Skip to content
Snippets Groups Projects
Commit 867c189e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

bail out hard if ipv6 and ares are both enabled at the same time

parent 33525ac1
No related branches found
No related tags found
No related merge requests found
......@@ -179,12 +179,16 @@ int fileno( FILE *stream);
#endif
#if defined(ENABLE_IPV6) && defined(USE_ARES)
#error "ares does not yet support IPv6. Disable IPv6 or ares and rebuild"
#endif
/*
* Curl_addrinfo MUST be used for name resolving information.
* Information regarding a single IP witin a Curl_addrinfo MUST be stored in
* a Curl_ipconnect struct.
*/
#if defined(ENABLE_IPV6) && !defined(USE_ARES)
#ifdef ENABLE_IPV6
typedef struct addrinfo Curl_addrinfo;
typedef struct addrinfo Curl_ipconnect;
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment