Switching unix to use PR_Abort().
git-svn-id: svn://10.0.0.236/trunk@22047 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
43188f40b8
commit
59aa28351c
@ -18,6 +18,7 @@
|
||||
|
||||
#include "nsDebug.h"
|
||||
#include "prlog.h"
|
||||
#include "prinit.h"
|
||||
|
||||
#if defined(HPUX)
|
||||
/* for abort() */
|
||||
@ -87,7 +88,7 @@ NS_COM void nsDebug::Abort(const char* aFile, PRIntn aLine)
|
||||
#elif defined(XP_MAC)
|
||||
ExitToShell();
|
||||
#elif defined(XP_UNIX)
|
||||
::abort();
|
||||
PR_Abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
|
||||
#include "nsDebug.h"
|
||||
#include "prlog.h"
|
||||
#include "prinit.h"
|
||||
|
||||
#if defined(HPUX)
|
||||
/* for abort() */
|
||||
@ -87,7 +88,7 @@ NS_COM void nsDebug::Abort(const char* aFile, PRIntn aLine)
|
||||
#elif defined(XP_MAC)
|
||||
ExitToShell();
|
||||
#elif defined(XP_UNIX)
|
||||
::abort();
|
||||
PR_Abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
|
||||
#include "nsDebug.h"
|
||||
#include "prlog.h"
|
||||
#include "prinit.h"
|
||||
|
||||
#if defined(HPUX)
|
||||
/* for abort() */
|
||||
@ -87,7 +88,7 @@ NS_COM void nsDebug::Abort(const char* aFile, PRIntn aLine)
|
||||
#elif defined(XP_MAC)
|
||||
ExitToShell();
|
||||
#elif defined(XP_UNIX)
|
||||
::abort();
|
||||
PR_Abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user