diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-07-14 15:54:56 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-07-14 15:54:56 (GMT) |
commit | 6e3371ad0a917ded7faecca0b8111a82faf562c7 (patch) | |
tree | 44c20c2d03408aad81a6ba9546d2d2311dff66d0 | |
parent | 6bdb76c4614eb49e558b8350e683ce9028844269 (diff) | |
download | tcl-6e3371ad0a917ded7faecca0b8111a82faf562c7.zip tcl-6e3371ad0a917ded7faecca0b8111a82faf562c7.tar.gz tcl-6e3371ad0a917ded7faecca0b8111a82faf562c7.tar.bz2 |
Fix build on Linux/Sparc with 32 bit userspace. See: [https://github.com/libtom/libtommath/issues/509] for the upstream libtommath fix
-rw-r--r-- | libtommath/tommath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/tommath.h b/libtommath/tommath.h index 053bf09..5834a89 100644 --- a/libtommath/tommath.h +++ b/libtommath/tommath.h @@ -45,7 +45,7 @@ extern "C" { defined(__ia64) || defined(__ia64__) || defined(__itanium__) || defined(_M_IA64) || \ defined(__LP64__) || defined(_LP64) || defined(__64BIT__) # if !(defined(MP_64BIT) || defined(MP_32BIT) || defined(MP_16BIT) || defined(MP_8BIT)) -# if defined(__GNUC__) && !defined(__hppa) +# if defined(__GNUC__) && defined(__SIZEOF_INT128__) && !defined(__hppa) /* we support 128bit integers only via: __attribute__((mode(TI))) */ # define MP_64BIT # else |