mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-25 07:43:14 +08:00
#undef vector after including altivec.h
This commit is contained in:
parent
12c6b45ae5
commit
083ffa8c41
@ -27,8 +27,11 @@
|
|||||||
#define EIGEN_VECTORIZE
|
#define EIGEN_VECTORIZE
|
||||||
#define EIGEN_VECTORIZE_ALTIVEC
|
#define EIGEN_VECTORIZE_ALTIVEC
|
||||||
#include <altivec.h>
|
#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 bool
|
||||||
|
#undef vector
|
||||||
|
#undef pixel
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user