mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 19:09:49 +00:00
Made abort abort on unix
This commit is contained in:
parent
f891e5da68
commit
adee46fdf3
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user