Made abort abort on unix

This commit is contained in:
kipp%netscape.com 1999-02-02 17:41:54 +00:00
parent f891e5da68
commit adee46fdf3
3 changed files with 6 additions and 0 deletions

View File

@ -81,6 +81,8 @@ NS_COM void nsDebug::Abort(const char* aFile, PRIntn aLine)
*__p = 0x7;
#elif defined(XP_MAC)
ExitToShell();
#elif defined(XP_UNIX)
::abort();
#endif
}

View File

@ -81,6 +81,8 @@ NS_COM void nsDebug::Abort(const char* aFile, PRIntn aLine)
*__p = 0x7;
#elif defined(XP_MAC)
ExitToShell();
#elif defined(XP_UNIX)
::abort();
#endif
}

View File

@ -81,6 +81,8 @@ NS_COM void nsDebug::Abort(const char* aFile, PRIntn aLine)
*__p = 0x7;
#elif defined(XP_MAC)
ExitToShell();
#elif defined(XP_UNIX)
::abort();
#endif
}