diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2023-12-22 11:02:05 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-22 15:05:54 +0100 |
commit | ea53099fac6d5b1e3b477c239fced40383a01721 (patch) | |
tree | 0e766c85cb482d4f531878c0947db7ad188ea4e7 /lib/quickjs/libbf.h | |
parent | 4773e9780c426d9cbefce902ca2a416e29444765 (diff) | |
download | chawan-ea53099fac6d5b1e3b477c239fced40383a01721.tar.gz |
test 128 bit integer support (github issue #125)
Diffstat (limited to 'lib/quickjs/libbf.h')
-rw-r--r-- | lib/quickjs/libbf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/quickjs/libbf.h b/lib/quickjs/libbf.h index 48e9d956..0457c180 100644 --- a/lib/quickjs/libbf.h +++ b/lib/quickjs/libbf.h @@ -27,7 +27,7 @@ #include <stddef.h> #include <stdint.h> -#if INTPTR_MAX >= INT64_MAX +#if defined(__SIZEOF_INT128__) && (INTPTR_MAX >= INT64_MAX) #define LIMB_LOG2_BITS 6 #else #define LIMB_LOG2_BITS 5 |