mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
Declare struct timezone in evutil.h so that borken mingw versions do not complain
svn:r1442
This commit is contained in:
parent
c5a0f56c9a
commit
756c4cd394
1
evutil.h
1
evutil.h
@ -168,6 +168,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