--- boost/core/uncaught_exceptions.hpp.orig 2019-04-09 21:35:30.000000000 +0200 +++ boost/core/uncaught_exceptions.hpp 2020-06-30 20:25:20.004402000 +0200 @@ -56,7 +56,7 @@ // On Linux with clang and libc++ and on OS X, there is a version of cxxabi.h from libc++abi that doesn't declare __cxa_get_globals, but provides __cxa_uncaught_exceptions. // The function only appeared in version _LIBCPPABI_VERSION >= 1002 of the library. Unfortunately, there are linking errors about undefined reference to __cxa_uncaught_exceptions // on Ubuntu Trusty and OS X, so we avoid using it and forward-declare __cxa_get_globals instead. -#if !defined(__FreeBSD__) && \ +#if !defined(__FreeBSD__) && !defined(__BSDSUniX__) && \ ( \ (defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) < 407) || \ defined(__OpenBSD__) || \