On Fri, 27 Nov 2015, GitHub wrote:

 Author: Dan Fandrich <[email protected]>

 lib: Only define curl_dofreeaddrinfo if struct addrinfo is available

Dan, what's the exact reason for this?

The HAVE_GETADDRINFO is defined for when the libc function is detected and meant to be used. This commit makes c-ares build warnings/errors and I can fix that by removing the #undef HAVE_GETADDRINFO from the c-ares condition in lib/curl_setup.h but before I just go ahead and do that I wanted to understand your change better.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to