diff options
author | Guenter Knauf <lists@gknw.net> | 2013-04-09 17:44:51 +0200 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2013-04-09 17:44:51 +0200 |
commit | 658ec97055456f739222aa2a5719a4d403ced99a (patch) | |
tree | 64ae8a8423fc8fff1c0862c31bf256622fae4b87 /lib/config-win32.h | |
parent | 88535d593e202a0fb85d59f849d114034561b059 (diff) | |
download | curl-658ec97055456f739222aa2a5719a4d403ced99a.tar.gz |
Fixed ares-enabled builds with static makefiles.
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r-- | lib/config-win32.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h index cfbca9ca3..c1e69541e 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -612,7 +612,11 @@ /* #define USE_ARES 1 */ /* Define to enable threaded asynchronous DNS lookups. */ -#define USE_THREADS_WIN32 1 +#if !defined(USE_ARES) && !defined(USE_THREADS_WIN32) +# define USE_THREADS_WIN32 1 +#elif defined(USE_THREADS_WIN32) && USE_THREADS_WIN32 == 0 +# undef USE_THREADS_WIN32 +#endif #if defined(USE_ARES) && defined(USE_THREADS_WIN32) # error "Only one DNS lookup specialty may be defined at most" |