aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-01-13 09:57:37 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-01-13 09:57:37 +0100
commit36f7c1337f2f73421325a9bdbe98dd53fd99951f (patch)
tree3f0a241c28033199b04dce79986ad212bb93394e
parent63974bcb88f23bd4768eb3232906f2b9f3c92fca (diff)
bug #907, ARM64: workaround vreinterpretq_u64_* not defined in xcode/clang
-rw-r--r--Eigen/src/Core/arch/NEON/PacketMath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/NEON/PacketMath.h b/Eigen/src/Core/arch/NEON/PacketMath.h
index d962e8adc..29512e264 100644
--- a/Eigen/src/Core/arch/NEON/PacketMath.h
+++ b/Eigen/src/Core/arch/NEON/PacketMath.h
@@ -492,7 +492,7 @@ ptranspose(PacketBlock<Packet4i,4>& kernel) {
//---------- double ----------
#if EIGEN_ARCH_ARM64
-#if EIGEN_COMP_GNUC_STRICT && __ANDROID__
+#if (EIGEN_COMP_GNUC_STRICT && defined(__ANDROID__)) || defined(__apple_build_version__)
// Bug 907: workaround missing declarations of the following two functions in the ADK
__extension__ static __inline uint64x2_t __attribute__ ((__always_inline__))
vreinterpretq_u64_f64 (float64x2_t __a)