Don't redefine timeval on MingW64 environments

This commit is contained in:
Mitchell Hashimoto
2014-03-13 23:13:33 -07:00
parent 94df66fb08
commit 3843a286b6
+4
View File
@@ -53,10 +53,14 @@
# endif
typedef long suseconds_t;
# ifndef __MINGW64__
struct timeval {
time_t tv_sec;
suseconds_t tv_usec;
};
# endif
static int
gettimeofday(struct timeval *tv, void *tz)
{