Dominick Meglio updated the win description since we fixed the gettimeofday
name issue
This commit is contained in:
parent
b16dfbee99
commit
7beac70644
@ -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:
|
Next was libcurl. I opened lib/config-win32.h and I added a:
|
||||||
#define USE_ARES 1
|
#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
|
Next thing I did was I added the path for the ares includes to the include
|
||||||
path, and the libares.lib to the libraries.
|
path, and the libares.lib to the libraries.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user