Skip to content
Snippets Groups Projects
Commit 37601803 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

although the check for HAVE_STRUCT_TIMEVAL solved the redefine it is...

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.
parent 056af4c9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment