X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FSupport%2FAlignOf.h;h=d6b0ab8b3750f2a786ec53d7112de40b1b290963;hb=b09c146b116359616f6cbd4c8b3328607e00ff42;hp=22c07d04fad8653adeb04e626c45ca564e581f23;hpb=48b6a79b2d367ea2e8cf014d8af9d573889d2f7f;p=oota-llvm.git diff --git a/include/llvm/Support/AlignOf.h b/include/llvm/Support/AlignOf.h index 22c07d04fad..d6b0ab8b375 100644 --- a/include/llvm/Support/AlignOf.h +++ b/include/llvm/Support/AlignOf.h @@ -78,7 +78,7 @@ template struct AlignedCharArrayImpl; template <> struct AlignedCharArrayImpl { \ char alignas(x) aligned; \ } -#elif defined(__GNUC__) +#elif defined(__GNUC__) || defined(__IBM_ATTRIBUTES) #define LLVM_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(x) \ template <> struct AlignedCharArrayImpl { \ char aligned __attribute__((aligned(x))); \