mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
lib: Only define curl_dofreeaddrinfo if struct addrinfo is available
This commit is contained in:
parent
db05d7a731
commit
78c25c854a
@ -83,7 +83,8 @@ Curl_addrinfo *Curl_str2addr(char *dotted, int port);
|
|||||||
Curl_addrinfo *Curl_unix2addr(const char *path);
|
Curl_addrinfo *Curl_unix2addr(const char *path);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CURLDEBUG) && defined(HAVE_FREEADDRINFO)
|
#if defined(CURLDEBUG) && defined(HAVE_GETADDRINFO) && \
|
||||||
|
defined(HAVE_FREEADDRINFO)
|
||||||
void
|
void
|
||||||
curl_dofreeaddrinfo(struct addrinfo *freethis,
|
curl_dofreeaddrinfo(struct addrinfo *freethis,
|
||||||
int line, const char *source);
|
int line, const char *source);
|
||||||
|
Loading…
Reference in New Issue
Block a user