5 "@(#)gettimeofday.c 1.9 12/11/29 Copyright 2007-2012 J. Schilling";
24#if !defined(HAVE_GETTIMEOFDAY)
25#if (defined(_MSC_VER) || defined(__MINGW32__))
32const __int64 MS_FTIME_ADD = 0x2b6109100i64;
33const __int64 MS_FTIME_SECS = 10000000i64;
35const Int64_t MS_FTIME_ADD = 0x2b6109100LL;
36const Int64_t MS_FTIME_SECS = 10000000LL;
59 tp->tv_sec = (
long) (
T / MS_FTIME_SECS - MS_FTIME_ADD);
60 tp->tv_usec = (
long) (
T % MS_FTIME_SECS) / 10;
#define gettimeofday(tv, tz)
VOID WINAPI GetSystemTimeAsFileTime(OUT PFILETIME lpFileTime)
_In_ uint64_t _In_ uint64_t _In_ uint64_t _In_opt_ traverse_ptr * tp