summaryrefslogtreecommitdiffstats
path: root/libcxx/src/typeinfo.cpp
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2012-02-29 12:59:17 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2012-02-29 12:59:17 +0000
commite1da544e0bc73a39a8d519f8b68fc80467fb7d6d (patch)
tree6e34cbce1a3f7625280d8ac1d16238052a64dc10 /libcxx/src/typeinfo.cpp
parentc7b718eb538a0a1a5110000778e646fb039bdd68 (diff)
downloadbcm5719-llvm-e1da544e0bc73a39a8d519f8b68fc80467fb7d6d.tar.gz
bcm5719-llvm-e1da544e0bc73a39a8d519f8b68fc80467fb7d6d.zip
Some libcxxrt-compatibility cleanups (avoid defining things twice).
llvm-svn: 151717
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