Disable test for 32-bit systems (e.g. ARM, i386)

Both i386 and 32-bit ARM do not define __uint128_t. On most systems, if
__uint128_t is defined, then so is the macro __SIZEOF_INT128__.

https://stackoverflow.com/questions/18531782/how-to-know-if-uint128-t-is-defined1
This commit is contained in:
Antonio Sánchez
2020-05-28 17:40:15 +00:00
committed by Rasmus Munk Larsen
parent 8e1df5b082
commit 8719b9c5bc
5 changed files with 12 additions and 10 deletions

View File

@@ -12,7 +12,7 @@
#include <Eigen/CXX11/Tensor>
#if EIGEN_COMP_MSVC
#if EIGEN_COMP_MSVC || !defined(__SIZEOF_INT128__)
#define EIGEN_NO_INT128
#else
typedef __uint128_t uint128_t;