mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 05:48:51 -04:00
Declare struct timezone in util.h so that borken mingw versions do not complain
svn:r1441
This commit is contained in:
parent
633f3fb7aa
commit
e6b747c34a
@ -256,6 +256,7 @@ ev_int64_t evutil_strtoll(const char *s, char **endptr, int base);
|
|||||||
#ifdef _EVENT_HAVE_GETTIMEOFDAY
|
#ifdef _EVENT_HAVE_GETTIMEOFDAY
|
||||||
#define evutil_gettimeofday(tv, tz) gettimeofday((tv), (tz))
|
#define evutil_gettimeofday(tv, tz) gettimeofday((tv), (tz))
|
||||||
#else
|
#else
|
||||||
|
struct timezone;
|
||||||
int evutil_gettimeofday(struct timeval *tv, struct timezone *tz);
|
int evutil_gettimeofday(struct timeval *tv, struct timezone *tz);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user