diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-02-02 20:48:35 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-02-02 20:48:35 +0000 |
commit | dea7f39af1ae5a71adfc0434b111962345193ef2 (patch) | |
tree | 8a03691541d8eb6e2ff294dcc415e8bc5763e397 /src/typeinfo.cpp | |
parent | b1bc0c4975e70c49af0755aae1b7f7b373a7061b (diff) | |
download | libcxx-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.cpp | 3 |
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 |