32#ifndef HAVE_GETTIMEOFDAY
35#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)
36#define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64
38#define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL
52 unsigned __int64 tmpres=0;
58 GetSystemTimeAsFileTime(&ft);
60 tmpres|=ft.dwHighDateTime;
62 tmpres|=ft.dwLowDateTime;
67 tv->tv_sec=(long)(tmpres / 1000000UL);
68 tv->tv_usec=(long)(tmpres % 1000000UL);
76 if (_get_timezone(&tz_seconds)) {
79 if (_get_daylight(&tz_daylight)) {
int gettimeofday(struct timeval *tv, struct timezone *tz)
#define DELTA_EPOCH_IN_MICROSECS