On Monday 08 March 2004 07:56, Johannes Gajdosik wrote:
I found that the _ftime-function only returns seconds, not milliseconds. Therefore I would like to send you a patch that uses gettimeofday().
Your efforts are appreciated but an implementation that uses Win32 API's would be better since that would make msvcrt (and thus Wine) more portable. Right now msvcrt uses only two unix API's, times() and localtime(), and I was planning to get rid of those in order to make it build on MinGW.
-Hans
"Hans" == Hans Leidekker hans@it.vu.nl writes:
Hans> On Monday 08 March 2004 07:56, Johannes Gajdosik wrote: >> I found that the _ftime-function only returns seconds, not >> milliseconds. Therefore I would like to send you a patch that uses >> gettimeofday().
Hans> Your efforts are appreciated but an implementation that uses Win32 Hans> API's would be better since that would make msvcrt (and thus Wine) Hans> more portable. Right now msvcrt uses only two unix API's, times() Hans> and localtime(), and I was planning to get rid of those in order Hans> to make it build on MinGW.
Also timezones and such complications may be better handled that way...