diff options
author | fanquake <fanquake@gmail.com> | 2021-12-13 21:25:05 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-12-13 21:25:05 +0800 |
commit | e9440aeb5cad98fea9971f5126461e0a2b30ab54 (patch) | |
tree | e63fba7926c6bbf837498b79d7fe941a515d10b9 /src | |
parent | bf66e258a84e18935fde3ebb9a4b0392bf883222 (diff) | |
download | bitcoin-e9440aeb5cad98fea9971f5126461e0a2b30ab54.tar.xz |
build: use __SIZEOF_INT128__ for checking __int128 availability
We already use this in the blockfilter code, so not sure we need to maintain two
different ways of testing for the same functionality. Consolidate on testing
for __SIZEOF_INT128__, which we already use, is supported by the compilers we
care about, and is also used by libsecp256k1.
Diffstat (limited to 'src')
-rw-r--r-- | src/crypto/muhash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/muhash.h b/src/crypto/muhash.h index c023a8b9d3..0c050cd32b 100644 --- a/src/crypto/muhash.h +++ b/src/crypto/muhash.h @@ -24,7 +24,7 @@ private: public: static constexpr size_t BYTE_SIZE = 384; -#ifdef HAVE___INT128 +#ifdef __SIZEOF_INT128__ typedef unsigned __int128 double_limb_t; typedef uint64_t limb_t; static constexpr int LIMBS = 48; |