Re: USE_ARES in config-win32.h

2013-01-11 Thread Gisle Vanem
"Yang Tse" wrote: config-platform.h in this case (config-win32.h) should be defining USE_ARES and verifying that USE_THREADS_WIN32 is not defined when "WITH_ARES" or "ENABLE_ARES" is defined. It's been a long time since I was involved in the asyn*.c / resolver stuff. Many other have contribut

Re: USE_ARES in config-win32.h

2013-01-10 Thread Yang Tse
Hi Gisle, On Thu, Jan 10, Gisle Vanem wrote: > lib/Makefile.m32 has this: > > ifdef ARES >INCLUDES += -I"$(LIBCARES_PATH)" >CFLAGS += -DUSE_ARES > Yes that's a problem with makefiles which don't write a curl_config.h file and expect to fully control build behavior even when a config-pla

USE_ARES in config-win32.h

2013-01-10 Thread Gisle Vanem
lib/Makefile.m32 has this: ifdef ARES INCLUDES += -I"$(LIBCARES_PATH)" CFLAGS += -DUSE_ARES But lib/config-win32.h has this: /* Define to enable c-ares asynchronous DNS lookups. */ /* #define USE_ARES 1 */ /* Define to enable threaded asynchronous DNS lookups. */ #define USE_THREADS