aboutsummaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-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 62b22a6..f5b0664 100644
--- a/lib/util/fast_urem_by_const.h
+++ b/lib/util/fast_urem_by_const.h
@@ -48,7 +48,7 @@
static inline uint32_t
_mul32by64_hi(uint32_t a, uint64_t b)
{
-#ifdef HAVE_UINT128
+#if __SIZEOF_INT128__ == 16
return ((__uint128_t) b * a) >> 64;
#else
/*