Loading lib/hostip.c +6 −1 Original line number Original line Diff line number Diff line Loading @@ -114,7 +114,11 @@ static Curl_addrinfo *my_getaddrinfo(struct connectdata *conn, int port, int port, int *waitp); int *waitp); #if (!defined(HAVE_GETHOSTBYNAME_R) || defined(USE_ARES) || \ defined(USE_THREADING_GETHOSTBYNAME)) && \ !defined(ENABLE_IPV6) static struct hostent* pack_hostent(char** buf, struct hostent* orig); static struct hostent* pack_hostent(char** buf, struct hostent* orig); #endif #ifdef USE_THREADING_GETHOSTBYNAME #ifdef USE_THREADING_GETHOSTBYNAME #ifdef DEBUG_THREADING_GETHOSTBYNAME #ifdef DEBUG_THREADING_GETHOSTBYNAME Loading Loading @@ -925,7 +929,8 @@ static Curl_addrinfo *my_getaddrinfo(struct connectdata *conn, } } #else /* following code is IPv4-only */ #else /* following code is IPv4-only */ #if !defined(HAVE_GETHOSTBYNAME_R) || defined(USE_ARES) || defined(USE_THREADING_GETHOSTBYNAME) #if !defined(HAVE_GETHOSTBYNAME_R) || defined(USE_ARES) || \ defined(USE_THREADING_GETHOSTBYNAME) static void hostcache_fixoffset(struct hostent *h, long offset); static void hostcache_fixoffset(struct hostent *h, long offset); /* /* Loading Loading
lib/hostip.c +6 −1 Original line number Original line Diff line number Diff line Loading @@ -114,7 +114,11 @@ static Curl_addrinfo *my_getaddrinfo(struct connectdata *conn, int port, int port, int *waitp); int *waitp); #if (!defined(HAVE_GETHOSTBYNAME_R) || defined(USE_ARES) || \ defined(USE_THREADING_GETHOSTBYNAME)) && \ !defined(ENABLE_IPV6) static struct hostent* pack_hostent(char** buf, struct hostent* orig); static struct hostent* pack_hostent(char** buf, struct hostent* orig); #endif #ifdef USE_THREADING_GETHOSTBYNAME #ifdef USE_THREADING_GETHOSTBYNAME #ifdef DEBUG_THREADING_GETHOSTBYNAME #ifdef DEBUG_THREADING_GETHOSTBYNAME Loading Loading @@ -925,7 +929,8 @@ static Curl_addrinfo *my_getaddrinfo(struct connectdata *conn, } } #else /* following code is IPv4-only */ #else /* following code is IPv4-only */ #if !defined(HAVE_GETHOSTBYNAME_R) || defined(USE_ARES) || defined(USE_THREADING_GETHOSTBYNAME) #if !defined(HAVE_GETHOSTBYNAME_R) || defined(USE_ARES) || \ defined(USE_THREADING_GETHOSTBYNAME) static void hostcache_fixoffset(struct hostent *h, long offset); static void hostcache_fixoffset(struct hostent *h, long offset); /* /* Loading