diff --git a/libc/tzcode/localtime.c b/libc/tzcode/localtime.c index a52e334a3..e2599b439 100644 --- a/libc/tzcode/localtime.c +++ b/libc/tzcode/localtime.c @@ -335,7 +335,9 @@ differ_by_repeat(const time_t t1, const time_t t0) { if (TYPE_BIT(time_t) - TYPE_SIGNED(time_t) < SECSPERREPEAT_BITS) return 0; +#if __LP64__ // 32-bit Android only has a signed 32-bit time_t; 64-bit Android is fixed. return t1 - t0 == SECSPERREPEAT; +#endif } static int