From 462c2c5293b834bcbdde1d3a9389202ae6e809ff Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 10 Jun 2023 14:17:17 -0400 Subject: [PATCH] conditionally include bits/functexcept.h --- new.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/new.cc b/new.cc index e46e302..165e19e 100644 --- a/new.cc +++ b/new.cc @@ -1,4 +1,8 @@ +// needed with libstdc++ but not libc++ +#if __has_include() #include +#endif + #include #include "h_malloc.h"