Update type_with_alignment.hpp

Update for ticket # 11096.
This commit is contained in:
akumta
2015-03-10 09:46:46 -07:00
parent c348b224da
commit 70345d87d3

View File

@ -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 {};