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 | 2c9c6a579a8f3d4f7c65b8073ef8fc6a64a7fa76 (patch) | |
tree | 74fee64b859f617f9f7e4a78f5c93ddfa509ad97 /libcxx/src/typeinfo.cpp | |
parent | eaa65afc7bff75649cab2a4be4ce18f82554db5b (diff) | |
download | bcm5719-llvm-2c9c6a579a8f3d4f7c65b8073ef8fc6a64a7fa76.tar.gz bcm5719-llvm-2c9c6a579a8f3d4f7c65b8073ef8fc6a64a7fa76.zip |
Prepare for running on top of new libc++abi.
llvm-svn: 149634
Diffstat (limited to 'libcxx/src/typeinfo.cpp')
-rw-r--r-- | libcxx/src/typeinfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/src/typeinfo.cpp b/libcxx/src/typeinfo.cpp index 9ca03a183e9..129998e5cd1 100644 --- a/libcxx/src/typeinfo.cpp +++ b/libcxx/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 |