libcxxrt now implements bad_array_new_length and need to gaurd against multiple defines. Patch from Baptiste Daroussin.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@220882 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/src/new.cpp b/src/new.cpp
index 3b7c341..2fb6e7f 100644
--- a/src/new.cpp
+++ b/src/new.cpp
@@ -192,8 +192,6 @@
#endif // !__GLIBCXX__
-#endif //LIBCXXRT
-
bad_array_new_length::bad_array_new_length() _NOEXCEPT
{
}
@@ -202,6 +200,8 @@
{
}
+#endif //LIBCXXRT
+
const char*
bad_array_length::what() const _NOEXCEPT
{