diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-08-27 00:09:58 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-08-27 00:09:58 +0000 |
commit | 083ffa8c414c5e2a3d781996bd4e4ac9a32357a5 (patch) | |
tree | 31d868bd584f8b6b02ee526e159567fd4abec109 | |
parent | 12c6b45ae505779d7ec30a231264683783253224 (diff) |
#undef vector after including altivec.h
-rw-r--r-- | Eigen/CoreDeclarations | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Eigen/CoreDeclarations b/Eigen/CoreDeclarations index 223a8d416..098cef4ea 100644 --- a/Eigen/CoreDeclarations +++ b/Eigen/CoreDeclarations @@ -27,8 +27,11 @@ #define EIGEN_VECTORIZE #define EIGEN_VECTORIZE_ALTIVEC #include <altivec.h> - // We _need_ to #undef bool as it's defined in <altivec.h> for some reason. + // We _need_ to #undef all these ugly tokens defined in <altivec.h> + // => use __vector instead of vector #undef bool + #undef vector + #undef pixel #endif #endif |