diff options
Diffstat (limited to 'contrib/libc++/src/typeinfo.cpp')
-rw-r--r-- | contrib/libc++/src/typeinfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/libc++/src/typeinfo.cpp b/contrib/libc++/src/typeinfo.cpp index 9ca03a1..cfc64ef 100644 --- a/contrib/libc++/src/typeinfo.cpp +++ b/contrib/libc++/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 |