AbortIfFalse should abort on all platforms -- that's the whole point. r=shaver

This commit is contained in:
akkana%netscape.com 1999-11-24 21:58:20 +00:00
parent f31fcc62c9
commit efc8c03546
2 changed files with 4 additions and 4 deletions

View File

@ -150,13 +150,13 @@ NS_COM void nsDebug::AbortIfFalse(const char* aStr, const char* aExpr,
#elif defined(XP_MAC)
DebugStr(StringPtr(buf));
ExitToShell();
#elif defined(XP_UNIX)
PR_Abort();
#elif defined(XP_BEOS)
{
DEBUGGER(buf + 1);
}
#endif
// If we get here, make sure we abort:
PR_Abort();
}
NS_COM PRBool nsDebug::WarnIfFalse(const char* aStr, const char* aExpr,

View File

@ -150,13 +150,13 @@ NS_COM void nsDebug::AbortIfFalse(const char* aStr, const char* aExpr,
#elif defined(XP_MAC)
DebugStr(StringPtr(buf));
ExitToShell();
#elif defined(XP_UNIX)
PR_Abort();
#elif defined(XP_BEOS)
{
DEBUGGER(buf + 1);
}
#endif
// If we get here, make sure we abort:
PR_Abort();
}
NS_COM PRBool nsDebug::WarnIfFalse(const char* aStr, const char* aExpr,