diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-23 13:53:33 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-23 13:53:33 +0000 |
commit | 597ad5a2ce99b8e74c32f7ead13581d2e9b23155 (patch) | |
tree | cc76ff812255c55f4d5263386be055f157ebe1a3 /lib/hostip.c | |
parent | 703fa98a487948dd8746c4a82b7d657042426134 (diff) |
adjust preprocessor symbol definition check relative to resolver specialty
Diffstat (limited to 'lib/hostip.c')
-rw-r--r-- | lib/hostip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 0ef806b72..4acf1217e 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -76,8 +76,8 @@ /* The last #include file should be: */ #include "memdebug.h" -#if defined(HAVE_ALARM) && defined(SIGALRM) && defined(HAVE_SIGSETJMP) \ - && !defined(USE_ARES) +#if defined(CURLRES_SYNCH) && \ + defined(HAVE_ALARM) && defined(SIGALRM) && defined(HAVE_SIGSETJMP) /* alarm-based timeouts can only be used with all the dependencies satisfied */ #define USE_ALARM_TIMEOUT #endif |