]> granicus.if.org Git - icinga2/commitdiff
Build fix for FreeBSD. v0.0.9
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 31 Mar 2014 16:30:57 +0000 (18:30 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 31 Mar 2014 16:30:57 +0000 (18:30 +0200)
lib/base/exception.cpp

index 58ff7aaed01d0d7bf69a52822215ce1855adf163..2e785371fafc1fdade7e114291240f6f605826b4 100644 (file)
@@ -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<std::type_info *>(pvtinfo);
        const std::type_info *boost_exc = &typeid(boost::exception);