summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util/fast_urem_by_const.h2
1 files changed, 1 insertions, 1 deletions
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
/*