resolver selection for non-configure Windows builds, default is threaded DNS

This commit is contained in:
Yang Tse 2010-01-26 12:13:39 +00:00
parent 1d86ebfc88
commit 9b0e57b0f7
1 changed files with 18 additions and 0 deletions

View File

@ -506,6 +506,24 @@
# define USE_WIN32_SMALL_FILES
#endif
/* ---------------------------------------------------------------- */
/* DNS RESOLVER SPECIALTY */
/* ---------------------------------------------------------------- */
/*
* Undefine both USE_ARES and USE_THREADS_WIN32 for synchronous DNS
*/
/* Define USE_ARES to enable c-ares asynchronous DNS lookups */
/* #define USE_ARES 1 */
/* Define USE_THREADS_WIN32 to enable threaded asynchronous DNS lookups */
#define USE_THREADS_WIN32 1
#if defined(USE_ARES) && defined(USE_THREADS_WIN32)
# error "Only one DNS lookup specialty may be defined at most"
#endif
/* ---------------------------------------------------------------- */
/* LDAP SUPPORT */
/* ---------------------------------------------------------------- */