summaryrefslogtreecommitdiffstats
path: root/include/base/crit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/base/crit.h')
-rw-r--r--include/base/crit.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/base/crit.h b/include/base/crit.h
index 1ff7e957..e9a3498a 100644
--- a/include/base/crit.h
+++ b/include/base/crit.h
@@ -32,9 +32,7 @@
/* Define C++ interface */
#ifdef __cplusplus
-#ifndef BASE_NSASSERT_H
-#include "nsassert.h"
-#endif /* !BASE_NSASSERT_H */
+#include "prlog.h" /* NSPR */
#ifndef prmon_h___
#include "prmon.h"
@@ -55,7 +53,7 @@ private:
inline CriticalSection::CriticalSection():_crtsec(0)
{
_crtsec = PR_NewMonitor();
- NS_ASSERT(_crtsec);
+ PR_ASSERT(_crtsec);
}
inline CriticalSection::~CriticalSection()