From f842ef6c193a31a8fec0fcb8b4ff5cb1e162a61e Mon Sep 17 00:00:00 2001 From: iraizo Date: Wed, 12 Jan 2022 14:16:34 +0100 Subject: [PATCH] fixed __throw_bad_alloc not found --- new.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/new.cc b/new.cc index ce1d59f..f65027d 100644 --- a/new.cc +++ b/new.cc @@ -1,4 +1,8 @@ +#ifdef __APPLE__ #include +#else +#include +#endif #include "h_malloc.h" #include "util.h"