AbortIfFalse should abort on all platforms -- that's the whole point. r=shaver
git-svn-id: svn://10.0.0.236/trunk@54438 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user