summaryrefslogtreecommitdiffstats
path: root/libcxx/src/typeinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/typeinfo.cpp')
-rw-r--r--libcxx/src/typeinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/typeinfo.cpp b/libcxx/src/typeinfo.cpp
index 129998e5cd1..cfc64ef57a6 100644
--- a/libcxx/src/typeinfo.cpp
+++ b/libcxx/src/typeinfo.cpp
@@ -13,7 +13,7 @@
#include "typeinfo"
-#ifndef _LIBCPPABI_VERSION
+#if !(defined(_LIBCPPABI_VERSION) || defined(LIBCXXRT))
std::bad_cast::bad_cast() _NOEXCEPT
{
OpenPOWER on IntegriCloud