summaryrefslogtreecommitdiff
path: root/src/typeinfo.cpp
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2012-03-13 14:09:15 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2012-03-13 14:09:15 +0000
commit362d815b81e2b4b66c33b99203d821b8928607e1 (patch)
tree491848d33dbdf1751fd52f321d3fbf70a8e616f2 /src/typeinfo.cpp
parent1828c5696f7bf5850943ea6c660a493a5e648669 (diff)
Notes
Diffstat (limited to 'src/typeinfo.cpp')
-rw-r--r--src/typeinfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/typeinfo.cpp b/src/typeinfo.cpp
index 9ca03a183e9c6..cfc64ef57a614 100644
--- a/src/typeinfo.cpp
+++ b/src/typeinfo.cpp
@@ -13,6 +13,8 @@
#include "typeinfo"
+#if !(defined(_LIBCPPABI_VERSION) || defined(LIBCXXRT))
+
std::bad_cast::bad_cast() _NOEXCEPT
{
}
@@ -48,3 +50,4 @@ std::bad_typeid::what() const _NOEXCEPT
void __cxxabiv1::__cxa_bad_cast() { throw std::bad_cast(); }
#endif
+#endif // _LIBCPPABI_VERSION