Guard int128_t typedef

This commit is contained in:
Andrew Johnson 2024-06-24 14:28:13 +03:00
parent 5f6ec19013
commit 43b4edf43e

View file

@ -36,8 +36,10 @@
#define LIMB_BITS (1 << LIMB_LOG2_BITS)
#if LIMB_BITS == 64
#ifndef INT128_MAX
__extension__ typedef __int128 int128_t;
__extension__ typedef unsigned __int128 uint128_t;
#endif
typedef int64_t slimb_t;
typedef uint64_t limb_t;
typedef uint128_t dlimb_t;