Commit 9b0e57b0 authored by Yang Tse's avatar Yang Tse
Browse files

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

parent 1d86ebfc
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -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                           */
/* ---------------------------------------------------------------- */