summaryrefslogtreecommitdiff
path: root/src/typeinfo.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-02-02 20:48:35 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-02-02 20:48:35 +0000
commitdea7f39af1ae5a71adfc0434b111962345193ef2 (patch)
tree8a03691541d8eb6e2ff294dcc415e8bc5763e397 /src/typeinfo.cpp
parentb1bc0c4975e70c49af0755aae1b7f7b373a7061b (diff)
downloadlibcxx-dea7f39af1ae5a71adfc0434b111962345193ef2.tar.gz
Prepare for running on top of new libc++abi.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@149634 91177308-0d34-0410-b5e6-96231b3b80d8
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 9ca03a183..129998e5c 100644
--- a/src/typeinfo.cpp
+++ b/src/typeinfo.cpp
@@ -13,6 +13,8 @@
#include "typeinfo"
+#ifndef _LIBCPPABI_VERSION
+
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