mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-07 22:06:29 +02:00
conditionally include bits/functexcept.h
This commit is contained in:
parent
8f3281ed6a
commit
462c2c5293
1 changed files with 4 additions and 0 deletions
4
new.cc
4
new.cc
|
@ -1,4 +1,8 @@
|
|||
// needed with libstdc++ but not libc++
|
||||
#if __has_include(<bits/functexcept.h>)
|
||||
#include <bits/functexcept.h>
|
||||
#endif
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "h_malloc.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue