diff options
Diffstat (limited to 'src/typeinfo.cpp')
| -rw-r--r-- | src/typeinfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/typeinfo.cpp b/src/typeinfo.cpp index 5c0a609b5e5c..3033c9800f18 100644 --- a/src/typeinfo.cpp +++ b/src/typeinfo.cpp @@ -54,12 +54,16 @@ std::bad_typeid::what() const _NOEXCEPT { #ifndef _LIBCPP_NO_EXCEPTIONS throw std::bad_typeid(); +#else + _VSTD::abort(); #endif } void __cxxabiv1::__cxa_bad_cast() { #ifndef _LIBCPP_NO_EXCEPTIONS throw std::bad_cast(); +#else + _VSTD::abort(); #endif } #endif |
