Fix incorrect use of aligned allocation in get_temporary_buffer.
llvm-svn: 345403
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 43245b1f3b13326055b9ed42fe08cdba907b264b
diff --git a/include/memory b/include/memory
index ef35cc2..783d94c 100644
--- a/include/memory
+++ b/include/memory
@@ -2016,7 +2016,7 @@
__n = __m;
while (__n > 0)
{
-#if !defined(_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION)
+#if !defined(_LIBCPP_HAS_NO_ALIGNED_ALLOCATION)
if (__is_overaligned_for_new(__alignof(_Tp)))
{
std::align_val_t __al =