adjust preprocessor symbol definition check relative to resolver specialty

This commit is contained in:
Yang Tse
2010-01-23 13:53:33 +00:00
parent 703fa98a48
commit 597ad5a2ce
3 changed files with 6 additions and 5 deletions

View File

@@ -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