Loading lib/README.ares +0 −10 Original line number Diff line number Diff line Loading @@ -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. Loading Loading
lib/README.ares +0 −10 Original line number Diff line number Diff line Loading @@ -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. Loading