summaryrefslogtreecommitdiff
path: root/boost/type_traits/type_with_alignment.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/type_traits/type_with_alignment.hpp')
-rw-r--r--boost/type_traits/type_with_alignment.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/type_traits/type_with_alignment.hpp b/boost/type_traits/type_with_alignment.hpp
index ad86613fd3..7eb66a702f 100644
--- a/boost/type_traits/type_with_alignment.hpp
+++ b/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 {};