curl_setup.h: undef freeaddrinfo in c-ares block to fix build

Fixes warnings 78c25c854a added.
This commit is contained in:
Daniel Stenberg 2015-11-27 23:24:59 +01:00
parent 81ae6d01fa
commit a14fa8f8ff
1 changed files with 1 additions and 0 deletions

View File

@ -527,6 +527,7 @@
# define CURLRES_ARES
/* now undef the stock libc functions just to avoid them being used */
# undef HAVE_GETADDRINFO
# undef HAVE_FREEADDRINFO
# undef HAVE_GETHOSTBYNAME
#elif defined(USE_THREADS_POSIX) || defined(USE_THREADS_WIN32)
# define CURLRES_ASYNCH