diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-26 12:13:39 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-26 12:13:39 +0000 |
commit | 9b0e57b0f79c4e267c9953e5fba69c3ecf8a5951 (patch) | |
tree | e3cafe138328693dc588bfdff033b1b988a5b720 /lib/config-win32.h | |
parent | 1d86ebfc88dcffd98f650cd42a6ef9a07d2d4fc0 (diff) | |
download | curl-9b0e57b0f79c4e267c9953e5fba69c3ecf8a5951.tar.gz |
resolver selection for non-configure Windows builds, default is threaded DNS
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r-- | lib/config-win32.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h index f1276d3d1..bc2dedf54 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -507,6 +507,24 @@ #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 */ /* ---------------------------------------------------------------- */ |