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__)) 32 const __int64 MS_FTIME_ADD = 0x2b6109100i64;
33 const __int64 MS_FTIME_SECS = 10000000i64;
35 const Int64_t MS_FTIME_ADD = 0x2b6109100
LL;
36 const Int64_t MS_FTIME_SECS = 10000000
LL;
59 tp->tv_sec = (
long) (
T / MS_FTIME_SECS - MS_FTIME_ADD);
60 tp->tv_usec = (
long) (
T % MS_FTIME_SECS) / 10;
VOID WINAPI GetSystemTimeAsFileTime(OUT PFILETIME lpFileTime)
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
_In_ uint64_t _In_ uint64_t _In_ uint64_t _In_opt_ traverse_ptr * tp
int gettimeofday(struct timeval *tv, struct timezone *tz)