From 70345d87d353ef6ab6fa8d3bfc9605ac7e386f5b Mon Sep 17 00:00:00 2001 From: akumta Date: Tue, 10 Mar 2015 09:46:46 -0700 Subject: [PATCH] Update type_with_alignment.hpp Update for ticket # 11096. --- include/boost/type_traits/type_with_alignment.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/type_traits/type_with_alignment.hpp b/include/boost/type_traits/type_with_alignment.hpp index ad86613..7eb66a7 100644 --- a/include/boost/type_traits/type_with_alignment.hpp +++ b/include/boost/type_traits/type_with_alignment.hpp @@ -176,7 +176,7 @@ class type_with_alignment { }; -#if defined(__GNUC__) +#if defined(__GNUC__) || (defined (__SUNPRO_CC) && (__SUNPRO_CC >= 0x5130)) namespace tt_align_ns { struct __attribute__((__aligned__(2))) a2 {}; struct __attribute__((__aligned__(4))) a4 {};