1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

curl_addrinfo: use same #ifdef conditions in source as header

... for curl_dofreeaddrinfo
This commit is contained in:
Daniel Stenberg 2018-06-01 14:40:35 +02:00
parent 923ce4a590
commit 5712806785
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -536,7 +536,8 @@ Curl_addrinfo *Curl_unix2addr(const char *path, bool *longpath, bool abstract)
}
#endif
#if defined(CURLDEBUG) && defined(HAVE_FREEADDRINFO)
#if defined(CURLDEBUG) && defined(HAVE_GETADDRINFO) && \
defined(HAVE_FREEADDRINFO)
/*
* curl_dofreeaddrinfo()
*