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

hide the pack_hostent proto if ipv6 is enabled, as figured out by Tor Arntsen

parent 9254c3a1
No related branches found
No related tags found
No related merge requests found
......@@ -86,9 +86,11 @@ static Curl_addrinfo *my_getaddrinfo(struct connectdata *conn,
char *hostname,
int port,
int *waitp);
#ifndef ENABLE_IPV6
#if !defined(HAVE_GETHOSTBYNAME_R) || defined(USE_ARES)
static struct hostent* pack_hostent(char** buf, struct hostent* orig);
#endif
#endif
void Curl_global_host_cache_init(void)
{
......
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