summaryrefslogtreecommitdiff
path: root/nameser.h
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-07-04 10:54:15 +0000
committerGunter Knauf <gk@gknw.de>2007-07-04 10:54:15 +0000
commit76a007538c4be634666eca701bc40057b06a46f4 (patch)
treec396332a9dc86565b179960a123af1d9143fa5d2 /nameser.h
parentc58612ba12f295858144fe43a052f06720f16a0b (diff)
downloadc-ares-76a007538c4be634666eca701bc40057b06a46f4.tar.gz
c-ares-76a007538c4be634666eca701bc40057b06a46f4.tar.bz2
c-ares-76a007538c4be634666eca701bc40057b06a46f4.zip
although the check for HAVE_STRUCT_TIMEVAL solved the redefine it is incorrect; lets see if a check for HAVE_GETTIMEOFDAY also works; if gettimeofday() is present then we can assume we have the timezone struct too.
Diffstat (limited to 'nameser.h')
-rw-r--r--nameser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nameser.h b/nameser.h
index a2e8e37..34f8dab 100644
--- a/nameser.h
+++ b/nameser.h
@@ -32,7 +32,7 @@ struct iovec
int ares_writev (SOCKET s, const struct iovec *vector, size_t count);
#define writev(s,vect,count) ares_writev(s,vect,count)
-#ifndef HAVE_STRUCT_TIMEVAL
+#ifndef HAVE_GETTIMEOFDAY
struct timezone { int dummy; };
#endif