26 #ifndef HAVE_GETTIMEOFDAY
31 static int gettimeofday(
struct timeval *tp,
void *nothing)
39 tmtm.tm_sec = st.wSecond;
40 tmtm.tm_min = st.wMinute;
41 tmtm.tm_hour = st.wHour;
42 tmtm.tm_mday = st.wDay;
43 tmtm.tm_mon = st.wMonth - 1;
44 tmtm.tm_year = st.wYear - 1900;
48 tp->
tv_usec = st.wMilliseconds * 1000;
56 unsigned long Ticks = 0;
58 unsigned long Usec = 0;
59 Ticks = timeGetTime();
62 Usec = (Ticks - (Sec*1000))*1000;
71 static int gettimeofday(
struct timeval *tp,
void *nothing)
long Curl_tvlong(struct timeval t1)
long Curl_tvdiff(struct timeval newer, struct timeval older)
time_t mktime(struct tm *)
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
struct timeval Curl_tvnow(void)