mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
resolver selection for non-configure Windows builds, default is threaded DNS
This commit is contained in:
parent
1d86ebfc88
commit
9b0e57b0f7
@ -506,6 +506,24 @@
|
|||||||
# define USE_WIN32_SMALL_FILES
|
# define USE_WIN32_SMALL_FILES
|
||||||
#endif
|
#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 */
|
/* LDAP SUPPORT */
|
||||||
/* ---------------------------------------------------------------- */
|
/* ---------------------------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user