Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment