зеркало из https://github.com/mozilla/pjs.git
Switching unix to use PR_Abort().
This commit is contained in:
Родитель
57eb5dae9a
Коммит
9e3d172499
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче