1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-28 23:34:49 -05:00

Fix __uint128_t compile error on MinGW.

MinGW has __uint128_t, but not __uint64_t.
This commit is contained in:
Tim Kosse 2015-08-11 09:43:34 +02:00 committed by Simon Tatham
parent 98f20bef77
commit 3377ea57f5

View File

@ -26,7 +26,7 @@
* using the same 'two machine registers' kind of code generation that
* 32-bit targets use for 64-bit ints. If we have one of these, we can
* use a 64-bit BignumInt and a 128-bit BignumDblInt. */
typedef __uint64_t BignumInt;
typedef unsigned long long BignumInt;
typedef __uint128_t BignumDblInt;
#define BIGNUM_INT_MASK 0xFFFFFFFFFFFFFFFFULL
#define BIGNUM_TOP_BIT 0x8000000000000000ULL