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);