mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-20 06:20:20 +02:00
fixed __throw_bad_alloc not found
This commit is contained in:
parent
079989797f
commit
f842ef6c19
1 changed files with 4 additions and 0 deletions
4
new.cc
4
new.cc
|
@ -1,4 +1,8 @@
|
||||||
|
#ifdef __APPLE__
|
||||||
#include <new>
|
#include <new>
|
||||||
|
#else
|
||||||
|
#include <bits/functexcept.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "h_malloc.h"
|
#include "h_malloc.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue