diff options
author | Gunter Knauf <gk@gknw.de> | 2007-07-04 10:54:15 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2007-07-04 10:54:15 +0000 |
commit | 3760180320a27b4a364805d5132143d4d9468749 (patch) | |
tree | 5380acb4b2752fa930a67e3a65cb84694c09876e /ares | |
parent | 056af4c9ac9b1a74712a4c3f8f6ce84c516ef188 (diff) |
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 'ares')
-rw-r--r-- | ares/nameser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/nameser.h b/ares/nameser.h index a2e8e3731..34f8dab32 100644 --- a/ares/nameser.h +++ b/ares/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 |