mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
curl_setup.h: undef freeaddrinfo in c-ares block to fix build
Fixes warnings 78c25c854a
added.
This commit is contained in:
parent
81ae6d01fa
commit
a14fa8f8ff
@ -527,6 +527,7 @@
|
|||||||
# define CURLRES_ARES
|
# define CURLRES_ARES
|
||||||
/* now undef the stock libc functions just to avoid them being used */
|
/* now undef the stock libc functions just to avoid them being used */
|
||||||
# undef HAVE_GETADDRINFO
|
# undef HAVE_GETADDRINFO
|
||||||
|
# undef HAVE_FREEADDRINFO
|
||||||
# undef HAVE_GETHOSTBYNAME
|
# undef HAVE_GETHOSTBYNAME
|
||||||
#elif defined(USE_THREADS_POSIX) || defined(USE_THREADS_WIN32)
|
#elif defined(USE_THREADS_POSIX) || defined(USE_THREADS_WIN32)
|
||||||
# define CURLRES_ASYNCH
|
# define CURLRES_ASYNCH
|
||||||
|
Loading…
Reference in New Issue
Block a user