diff options
author | cls%seawood.org <devnull@localhost> | 1999-07-14 06:59:15 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 1999-07-14 06:59:15 +0000 |
commit | 6577d03bba40b7bb994559103b5343cd3d66c815 (patch) | |
tree | 593051d79f2f8df2e5814673d9f1e1c1d02a7e27 | |
parent | 85cf3465af9391591cfc55b96f4a579d81729329 (diff) | |
download | nspr-hg-6577d03bba40b7bb994559103b5343cd3d66c815.tar.gz |
Added ifdef as mingw32 doesn't have a timeGetTime()
-rw-r--r-- | pr/src/md/windows/ntinrval.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pr/src/md/windows/ntinrval.c b/pr/src/md/windows/ntinrval.c index a54a4485..e61bde99 100644 --- a/pr/src/md/windows/ntinrval.c +++ b/pr/src/md/windows/ntinrval.c @@ -67,11 +67,15 @@ _PR_MD_GET_INTERVAL() count.LowPart = count.LowPart + top; return (PRUint32)count.LowPart; } else +#if defined(__MINGW32__) + return time(); +#else #if defined(WIN16) return clock(); /* milliseconds since application start */ #else return timeGetTime(); /* milliseconds since system start */ #endif +#endif } PRIntervalTime |