* times.cc (gettimeofday): Align definition to POSIX.
This commit is contained in:
parent
d2d9ce09b5
commit
a5a0080d9c
|
@ -1,3 +1,7 @@
|
||||||
|
2007-07-06 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* times.cc (gettimeofday): Align definition to POSIX.
|
||||||
|
|
||||||
2007-07-06 Corinna Vinschen <corinna@vinschen.de>
|
2007-07-06 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* cygwin.din: Export wcstol, wcstoll, wcstoul, wcstoull, wcsxfrm.
|
* cygwin.din: Export wcstol, wcstoll, wcstoul, wcstoull, wcsxfrm.
|
||||||
|
|
|
@ -150,8 +150,9 @@ hires_ms NO_COPY gtod;
|
||||||
|
|
||||||
/* FIXME: Make thread safe */
|
/* FIXME: Make thread safe */
|
||||||
extern "C" int
|
extern "C" int
|
||||||
gettimeofday (struct timeval *tv, struct timezone *tz)
|
gettimeofday (struct timeval *tv, void *tzvp)
|
||||||
{
|
{
|
||||||
|
struct timezone *tz = (struct timezone *) tzvp;
|
||||||
static bool tzflag;
|
static bool tzflag;
|
||||||
LONGLONG now = gtod.usecs ();
|
LONGLONG now = gtod.usecs ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue