Commit a14fa8f8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

Fixes warnings 78c25c85 added.
parent 81ae6d01
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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