mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1375467 - Redefining abort() in C++ requires extern "C". r=glandium
This commit is contained in:
parent
427d0b2cc5
commit
a393f2a6cf
@ -68,7 +68,7 @@ void fillAbortMessage(char (&msg)[N], uintptr_t retAddress) {
|
||||
//
|
||||
// That segmentation fault will be interpreted as another bug by ASan and as a
|
||||
// result, ASan will just exit(1) instead of aborting.
|
||||
void abort(void)
|
||||
extern "C" void abort(void)
|
||||
{
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
char msg[64] = {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user