From e3d96eb62d7b0d490cea432286efb962c1d030b3 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 31 Mar 2014 18:30:57 +0200 Subject: [PATCH] Build fix for FreeBSD. --- lib/base/exception.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/exception.cpp b/lib/base/exception.cpp index 58ff7aaed..2e785371f 100644 --- a/lib/base/exception.cpp +++ b/lib/base/exception.cpp @@ -34,7 +34,7 @@ void __cxa_throw(void *obj, void *pvtinfo, void (*dest)(void *)) if (real_cxa_throw == 0) real_cxa_throw = (cxa_throw_fn)dlsym(RTLD_NEXT, "__cxa_throw"); -#ifdef __GLIBC__ +#ifdef __GLIBCXX__ void *thrown_ptr = obj; const std::type_info *tinfo = static_cast(pvtinfo); const std::type_info *boost_exc = &typeid(boost::exception); -- 2.40.0