Commit 7beac706 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Dominick Meglio updated the win description since we fixed the gettimeofday

name issue
parent b16dfbee
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -62,16 +62,6 @@ other projects adig/ahost seem to fail under MSVC).
Next was libcurl. I opened lib/config-win32.h and I added a:
 #define USE_ARES 1

Next thing I added was, near the HAVE_GETTIMEOFDAY checks I added:
#ifdef USE_ARES
#define HAVE_GETTIMEOFDAY 1
#endif

The reason is, it seems curl-ares has a gettimeofday function in it (perhaps
this should be made static in ares to avoid this kludge?) To prevent a
duplicate symbol error, I had to make sure libcurl didn't also try and create
a gettimeofday() function.

Next thing I did was I added the path for the ares includes to the include
path, and the libares.lib to the libraries.