diff options
author | Antonio Sánchez <cantonios@google.com> | 2020-05-28 17:40:15 +0000 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-05-28 17:40:15 +0000 |
commit | 8719b9c5bc1a97e62d675c02495ed72dda6fae73 (patch) | |
tree | 3c91fd5b4bc0d08eda6ccbba28dbea3da117de42 /unsupported/test/cxx11_tensor_uint128.cpp | |
parent | 8e1df5b08280f07a8814719fdbbeaf6fababd2dc (diff) |
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
Diffstat (limited to 'unsupported/test/cxx11_tensor_uint128.cpp')
-rw-r--r-- | unsupported/test/cxx11_tensor_uint128.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/cxx11_tensor_uint128.cpp b/unsupported/test/cxx11_tensor_uint128.cpp index 07691df98..46fceaa19 100644 --- a/unsupported/test/cxx11_tensor_uint128.cpp +++ b/unsupported/test/cxx11_tensor_uint128.cpp @@ -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; |