From 695830c453113ea4cf6b62c76046945ac24b0296 Mon Sep 17 00:00:00 2001 From: itchyny Date: Mon, 15 Sep 2025 07:46:29 +0900 Subject: [PATCH] Fix year 2038 problem on 32-bit platforms (fix #3369) (#3407) --- src/builtin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/builtin.c b/src/builtin.c index 52fe77c4..8e673940 100644 --- a/src/builtin.c +++ b/src/builtin.c @@ -1,3 +1,6 @@ +#if __SIZEOF_POINTER__==4 +# define _TIME_BITS 64 +#endif #ifndef __sun__ # define _XOPEN_SOURCE # define _XOPEN_SOURCE_EXTENDED 1