Make the guard for external ABI libraries include the guard for

libsupc++ in typeinfo.cpp, bringing it into agreement with
exception.cpp. This fixes link errors due to duplicate symbols from
this translation unit.

llvm-svn: 191397
This commit is contained in:
Chandler Carruth 2013-09-25 20:01:44 +00:00
parent 46a72bb3bf
commit 0e99d99f77
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
#include "typeinfo"
#if !(defined(_LIBCPPABI_VERSION) || defined(LIBCXXRT))
#if !defined(LIBCXXRT) && !defined(_LIBCPPABI_VERSION) && !defined(__GLIBCXX__)
std::bad_cast::bad_cast() _NOEXCEPT
{
@ -67,4 +67,4 @@ std::bad_typeid::what() const _NOEXCEPT
}
#endif
#endif // _LIBCPPABI_VERSION
#endif // !LIBCXXRT && !_LIBCPPABI_VERSION && !__GLIBCXX__