From 86474115f59b6b7946c3153de8eb49d9c1f01cd4 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 19 Nov 2010 17:33:51 +0100 Subject: [PATCH] IBM XL C compiler supports __attribute__((aligned(n))) syntax --- Eigen/src/Core/util/Macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 0cea94852..35af83be4 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -220,7 +220,7 @@ */ #if !EIGEN_ALIGN_STATICALLY #define EIGEN_ALIGN_TO_BOUNDARY(n) -#elif (defined __GNUC__) || (defined __PGI) +#elif (defined __GNUC__) || (defined __PGI) || (defined __IBMCPP__) #define EIGEN_ALIGN_TO_BOUNDARY(n) __attribute__((aligned(n))) #elif (defined _MSC_VER) #define EIGEN_ALIGN_TO_BOUNDARY(n) __declspec(align(n))