summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2006-02-13 23:24:45 +0000
committerwtchang%redhat.com <devnull@localhost>2006-02-13 23:24:45 +0000
commit5a72d2669bed94d72cec0bca4d7411514ed48f7f (patch)
tree8437aed5c7145f3829275a4c6b6bfa784964d307
parentbf9501c5f94fb200dbe73e4b3dad4d2b03423187 (diff)
downloadnspr-hg-5a72d2669bed94d72cec0bca4d7411514ed48f7f.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. See bug 307527 for approval-branch-1.8.1+. Tag: MOZILLA_1_8_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