aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Eigen/CoreDeclarations5
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