Bugzilla Bug 124695: the implementation of _PR_MD_GET_INTERVAL for MinGW

was wrong.  Thanks to Stefan Sitter <ssitter@googlemail.com> for reporting
the bug and verifying the fix.
 Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH


git-svn-id: svn://10.0.0.236/branches/NSPRPUB_PRE_4_2_CLIENT_BRANCH@189898 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtchang%redhat.com
2006-02-13 23:19:24 +00:00
parent 9b80dde034
commit fd6c52d667

View File

@@ -50,13 +50,7 @@ _PR_MD_INTERVAL_INIT()
PRIntervalTime
_PR_MD_GET_INTERVAL()
{
#if defined(__MINGW32__)
return time();
#elif defined(WIN16)
return clock(); /* milliseconds since application start */
#else
return timeGetTime(); /* milliseconds since system start */
#endif
}
PRIntervalTime