diff options
author | wtc%netscape.com <devnull@localhost> | 1998-11-24 00:25:25 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 1998-11-24 00:25:25 +0000 |
commit | f608a58e80c70d79ea0a64f6e7b568495d6a0c2c (patch) | |
tree | 303f61a974064d49aab1d57d34f9782540b659cc | |
parent | 40b7dfcf2d63126365207f2375051de9419f4a6d (diff) | |
download | nspr-hg-f608a58e80c70d79ea0a64f6e7b568495d6a0c2c.tar.gz |
Temporarily ifdef out assertions for the Mac while I debug the
problem.
-rw-r--r-- | pr/src/misc/prinrval.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pr/src/misc/prinrval.c b/pr/src/misc/prinrval.c index 87112926..8b1c56b2 100644 --- a/pr/src/misc/prinrval.c +++ b/pr/src/misc/prinrval.c @@ -36,12 +36,20 @@ void _PR_InitClock(void) { _PR_MD_INTERVAL_INIT(); #ifdef DEBUG + /* + * Temporarily ifdef out the following assertions for + * the Mac while I debug it. ticksPerSecond is 125 + * on the Mac right now, which is less than the required + * minimum of 1000. -- WTC 23 Nov. 1998 + */ +#if !defined(XP_MAC) { PRIntervalTime ticksPerSec = PR_TicksPerSecond(); PR_ASSERT(ticksPerSec >= PR_INTERVAL_MIN); PR_ASSERT(ticksPerSec <= PR_INTERVAL_MAX); } +#endif #endif /* DEBUG */ } |