diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/containers/stack_container.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/containers/stack_container.h b/base/containers/stack_container.h index b3e508b..347c6b3 100644 --- a/base/containers/stack_container.h +++ b/base/containers/stack_container.h @@ -56,7 +56,7 @@ class StackAllocator : public std::allocator<T> { // constructors and destructors to be automatically called. Define a POD // buffer of the right size instead. base::AlignedMemory<sizeof(T[stack_capacity]), ALIGNOF(T)> stack_buffer_; -#if defined(OS_ANDROID) +#if defined(__GNUC__) && !defined(ARCH_CPU_X86_FAMILY) COMPILE_ASSERT(ALIGNOF(T) <= 16, crbug_115612); #endif |