From 8963b95e1aacddd3329ff3ed5d1c4957685df4b3 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 10 Mar 2022 23:16:53 +0100 Subject: Fix warning if __SIZEOF_INT128__ is not defined Signed-off-by: David Oberhollenzer --- lib/util/fast_urem_by_const.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/fast_urem_by_const.h b/lib/util/fast_urem_by_const.h index 073f9e0..4fb78d3 100644 --- a/lib/util/fast_urem_by_const.h +++ b/lib/util/fast_urem_by_const.h @@ -50,7 +50,7 @@ static inline sqfs_u32 _mul32by64_hi(sqfs_u32 a, sqfs_u64 b) { -#if __SIZEOF_INT128__ == 16 +#if defined(__SIZEOF_INT128__) && __SIZEOF_INT128__ == 16 return ((__uint128_t) b * a) >> 64; #else /* -- cgit v1.2.3