mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 762446 - Hook jemalloc's abort. r=jlebar
This commit is contained in:
parent
80815c17fd
commit
43ce5971a1
@ -107,4 +107,10 @@ _je_malloc_message(void *cbopaque, const char *s)
|
||||
void (*je_malloc_message)(void *, const char *s) = _je_malloc_message;
|
||||
#endif
|
||||
|
||||
#include <mozilla/Assertions.h>
|
||||
|
||||
void moz_abort() {
|
||||
MOZ_CRASH();
|
||||
}
|
||||
|
||||
#endif /* MOZ_JEMALLOC */
|
||||
|
@ -45,3 +45,5 @@ endif
|
||||
ifdef GNU_CC
|
||||
CFLAGS += -std=gnu99
|
||||
endif
|
||||
|
||||
DEFINES += -Dabort=moz_abort
|
||||
|
Loading…
Reference in New Issue
Block a user