mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
and now it should really build
svn path=/trunk/; revision=12994
This commit is contained in:
parent
8a991b772f
commit
f68079aff3
1 changed files with 2 additions and 2 deletions
|
@ -266,8 +266,8 @@ int gettimeofday(struct timeval *tv, struct timezone *tz)
|
||||||
if (tv)
|
if (tv)
|
||||||
{
|
{
|
||||||
GetSystemTimeAsFileTime(&ft);
|
GetSystemTimeAsFileTime(&ft);
|
||||||
li.LowPart = ft.dwLowDateTime;
|
//li.LowPart = ft.dwLowDateTime;
|
||||||
li.HighPart = ft.dwHighDateTime;
|
//li.HighPart = ft.dwHighDateTime;
|
||||||
t = li.QuadPart; /* In 100-nanosecond intervals */
|
t = li.QuadPart; /* In 100-nanosecond intervals */
|
||||||
t -= EPOCHFILETIME; /* Offset to the Epoch time */
|
t -= EPOCHFILETIME; /* Offset to the Epoch time */
|
||||||
t /= 10; /* In microseconds */
|
t /= 10; /* In microseconds */
|
Loading…
Reference in a new issue