about summary refs log tree commit diff stats
path: root/lib/quickjs/libbf.c
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-04-14 15:10:06 +0200
committerbptato <nincsnevem662@gmail.com>2024-04-14 19:00:24 +0200
commitffa46fbb1cd4d3104f27d9fe55a0ac5520aa93ca (patch)
treea3359607c388674fa7d3595fe77e9bbf0613db76 /lib/quickjs/libbf.c
parent13ada1015158d65d7a3f57a89cc21769cf879934 (diff)
downloadchawan-ffa46fbb1cd4d3104f27d9fe55a0ac5520aa93ca.tar.gz
Revert bignum build fixes
Importing patch from upstream instead.

This reverts commits ccf177cc125e120b338612bbf24966faf3fd87fa and
6776f4dba975137f4034b1295c0f1958b752a2cb.
Diffstat (limited to 'lib/quickjs/libbf.c')
-rw-r--r--lib/quickjs/libbf.c2
1 files changed, 0 insertions, 2 deletions
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)