Use monotonic time source if available.

This commit is contained in:
Yang Tse
2008-05-09 16:30:24 +00:00
parent fd5fdecf30
commit 0848b4fdaa
10 changed files with 113 additions and 40 deletions
-7
View File
@@ -29,13 +29,6 @@ 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_GETTIMEOFDAY
struct timezone { int dummy; };
#endif
int ares_gettimeofday(struct timeval *tv, struct timezone *tz);
#define gettimeofday(tv,tz) ares_gettimeofday(tv,tz)
#endif /* !NETWARE */
#define NS_CMPRSFLGS 0xc0