mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Guard int128_t typedef
This commit is contained in:
parent
b65ed3bb73
commit
1aa0020cce
1 changed files with 2 additions and 0 deletions
2
libbf.h
2
libbf.h
|
@ -40,8 +40,10 @@ extern "C" {
|
|||
#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;
|
||||
|
|
Loading…
Reference in a new issue