[libcxx] r283621 - Disable alignment support of 0x4000 for Win32. https://reviews.llvm.org/D25053

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 7 16:19:04 PDT 2016


Author: marshall
Date: Fri Oct  7 18:19:04 2016
New Revision: 283621

URL: http://llvm.org/viewvc/llvm-project?rev=283621&view=rev
Log:
Disable alignment support of 0x4000 for Win32. https://reviews.llvm.org/D25053

Modified:
    libcxx/trunk/include/type_traits

Modified: libcxx/trunk/include/type_traits
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/type_traits?rev=283621&r1=283620&r2=283621&view=diff
==============================================================================
--- libcxx/trunk/include/type_traits (original)
+++ libcxx/trunk/include/type_traits Fri Oct  7 18:19:04 2016
@@ -1675,10 +1675,10 @@ _CREATE_ALIGNED_STORAGE_SPECIALIZATION(0
 _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
 




More information about the cfe-commits mailing list