cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: gettimeofday() on Win32

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 12 Jan 2005 17:26:50 +0100 (CET)

On Wed, 12 Jan 2005, Gisle Vanem wrote:

> Using this would have the added benefit of dropping winmm.lib from the link
> command. MSDN tells me this function is supported on Win95 and up. Anybody
> knows any problems with it?

I _think_ we use the current approach just because someone once improved the
function we had then (that had a whopping 1 second resolution) with this. I
don't think any other function has ever been used and rejected. Possibly
because no one figured out these ones you suggest!

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-01-12