cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: gettimeofday() on Win32

From: Gisle Vanem <giva_at_bgnett.no>
Date: Wed, 12 Jan 2005 17:43:54 +0100

"Wei Weng" wrote:

>> int gettimeofday (struct timeval *tv, void* tz)
>> {
>> union {
>> LONG_LONG ns100; /*time since 1 Jan 1601 in 100ns units */
>> FILETIME ft;
>> } now;
..

> I think it is either LONGLONG or __int64, for signed 64bit integer under
> windows.

LONG_LONG is defined appropriately in setup.h. We only need
to add a macro for 'LL' or 'i64' suffix.

--gv
Received on 2005-01-12