From 9c4dfbe55cdd98008da743d6e563f62bb3f777ea Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Fri, 7 Oct 2016 23:19:04 +0000 Subject: [PATCH] Disable alignment support of 0x4000 for Win32. https://reviews.llvm.org/D25053 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@283621 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/type_traits | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/type_traits b/include/type_traits index 519d91f4b..c63dea481 100644 --- a/include/type_traits +++ b/include/type_traits @@ -1675,10 +1675,10 @@ _CREATE_ALIGNED_STORAGE_SPECIALIZATION(0x400); _CREATE_ALIGNED_STORAGE_SPECIALIZATION(0x800); _CREATE_ALIGNED_STORAGE_SPECIALIZATION(0x1000); _CREATE_ALIGNED_STORAGE_SPECIALIZATION(0x2000); -// MSDN says that MSVC does not support alignment beyond 8192 (=0x2000) -#if !defined(_LIBCPP_MSVC) +// PE/COFF does not support alignment beyond 8192 (=0x2000) +#if !defined(_WIN32) _CREATE_ALIGNED_STORAGE_SPECIALIZATION(0x4000); -#endif // !_LIBCPP_MSVC +#endif // !_WIN32 #undef _CREATE_ALIGNED_STORAGE_SPECIALIZATION