aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-11-19 17:33:51 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-11-19 17:33:51 +0100
commit86474115f59b6b7946c3153de8eb49d9c1f01cd4 (patch)
treea7c7a28fe3b08d34102ce6c64b982e5111f82b4f /Eigen/src
parent8ad1f64e0a1f2ff8ee440fa16e321e33b0e89e29 (diff)
IBM XL C compiler supports __attribute__((aligned(n))) syntax
Diffstat (limited to 'Eigen/src')
-rw-r--r--Eigen/src/Core/util/Macros.h2
1 files changed, 1 insertions, 1 deletions
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))