Skip to content

Commit 37bd262

Browse files
authored
Merge pull request #510 from czurnieden/64bit_with_32bit_userspace
Added check for __SIZEOF_INT128__ to avoid some problems with a 64-bit arch. and 32-bit userspace
2 parents e4b789b + eb7fe2d commit 37bd262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tommath.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extern "C" {
2929
defined(__ia64) || defined(__ia64__) || defined(__itanium__) || defined(_M_IA64) || \
3030
defined(__LP64__) || defined(_LP64) || defined(__64BIT__)
3131
# if !(defined(MP_64BIT) || defined(MP_32BIT) || defined(MP_16BIT))
32-
# if defined(__GNUC__) && !defined(__hppa)
32+
# if defined(__GNUC__) && defined(__SIZEOF_INT128__) && !defined(__hppa)
3333
/* we support 128bit integers only via: __attribute__((mode(TI))) */
3434
# define MP_64BIT
3535
# else

0 commit comments

Comments
 (0)