Skip to content

Commit e3d96eb

Browse files
committed
Build fix for FreeBSD.
1 parent 5c3586b commit e3d96eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/base/exception.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void __cxa_throw(void *obj, void *pvtinfo, void (*dest)(void *))
3434
if (real_cxa_throw == 0)
3535
real_cxa_throw = (cxa_throw_fn)dlsym(RTLD_NEXT, "__cxa_throw");
3636

37-
#ifdef __GLIBC__
37+
#ifdef __GLIBCXX__
3838
void *thrown_ptr = obj;
3939
const std::type_info *tinfo = static_cast<std::type_info *>(pvtinfo);
4040
const std::type_info *boost_exc = &typeid(boost::exception);

0 commit comments

Comments
 (0)