fixed __throw_bad_alloc not found

This commit is contained in:
iraizo 2022-01-12 14:16:34 +01:00
parent 079989797f
commit f842ef6c19

4
new.cc
View file

@ -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"