summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2006-02-13 23:19:24 +0000
committerwtchang%redhat.com <devnull@localhost>2006-02-13 23:19:24 +0000
commit2c71f2e8e3046574551cea78d29ebf65256f83c5 (patch)
tree0228796a13eb162014c1413fa2fdd920ced7d64e
parentf0cb168c7d2a28ce76c2371810f8f51e1b1ad326 (diff)
downloadnspr-hg-2c71f2e8e3046574551cea78d29ebf65256f83c5.tar.gz
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
-rw-r--r--pr/src/md/windows/ntinrval.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/pr/src/md/windows/ntinrval.c b/pr/src/md/windows/ntinrval.c
index d19735e7..b8d85831 100644
--- a/pr/src/md/windows/ntinrval.c
+++ b/pr/src/md/windows/ntinrval.c
@@ -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