From ffa46fbb1cd4d3104f27d9fe55a0ac5520aa93ca Mon Sep 17 00:00:00 2001 From: bptato Date: Sun, 14 Apr 2024 15:10:06 +0200 Subject: Revert bignum build fixes Importing patch from upstream instead. This reverts commits ccf177cc125e120b338612bbf24966faf3fd87fa and 6776f4dba975137f4034b1295c0f1958b752a2cb. --- lib/quickjs/libbf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/quickjs/libbf.c') diff --git a/lib/quickjs/libbf.c b/lib/quickjs/libbf.c index 7f497a85..dee394ac 100644 --- a/lib/quickjs/libbf.c +++ b/lib/quickjs/libbf.c @@ -136,7 +136,6 @@ static inline slimb_t ceil_div(slimb_t a, slimb_t b) return a / b; } -#ifdef USE_BF_DEC /* b must be >= 1 */ static inline slimb_t floor_div(slimb_t a, slimb_t b) { @@ -146,7 +145,6 @@ static inline slimb_t floor_div(slimb_t a, slimb_t b) return (a - b + 1) / b; } } -#endif /* USE_BF_DEC */ /* return r = a modulo b (0 <= r <= b - 1. b must be >= 1 */ static inline limb_t smod(slimb_t a, slimb_t b) -- cgit 1.4.1-2-gfad0