From 59aa28351cc6486dfeb9ffeeae6f4ef67a65a153 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Fri, 26 Feb 1999 03:52:37 +0000 Subject: [PATCH] Switching unix to use PR_Abort(). git-svn-id: svn://10.0.0.236/trunk@22047 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/base/nsDebug.cpp | 3 ++- mozilla/xpcom/glue/nsDebug.cpp | 3 ++- mozilla/xpcom/src/nsDebug.cpp | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mozilla/xpcom/base/nsDebug.cpp b/mozilla/xpcom/base/nsDebug.cpp index 4c31ab631c2..3627cc4f5ba 100644 --- a/mozilla/xpcom/base/nsDebug.cpp +++ b/mozilla/xpcom/base/nsDebug.cpp @@ -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 } diff --git a/mozilla/xpcom/glue/nsDebug.cpp b/mozilla/xpcom/glue/nsDebug.cpp index 4c31ab631c2..3627cc4f5ba 100644 --- a/mozilla/xpcom/glue/nsDebug.cpp +++ b/mozilla/xpcom/glue/nsDebug.cpp @@ -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 } diff --git a/mozilla/xpcom/src/nsDebug.cpp b/mozilla/xpcom/src/nsDebug.cpp index 4c31ab631c2..3627cc4f5ba 100644 --- a/mozilla/xpcom/src/nsDebug.cpp +++ b/mozilla/xpcom/src/nsDebug.cpp @@ -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 }