From d6dcfe4d0c58856690ecbad4cf191d7c9ee1a4a8 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 22 Oct 2019 17:08:56 -0400 Subject: move time_t and suseconds_t definitions to common alltypes.h.in now that all 32-bit archs have 64-bit time_t (and suseconds_t), the arch-provided _Int64 macro (long or long long, as appropriate) can be used to define them, and arch-specific definitions are no longer needed. --- include/alltypes.h.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/alltypes.h.in b/include/alltypes.h.in index e9b29afc..94aa2089 100644 --- a/include/alltypes.h.in +++ b/include/alltypes.h.in @@ -8,6 +8,8 @@ TYPEDEF _Addr ssize_t; TYPEDEF _Addr intptr_t; TYPEDEF _Addr regoff_t; TYPEDEF _Reg register_t; +TYPEDEF _Int64 time_t; +TYPEDEF _Int64 suseconds_t; TYPEDEF signed char int8_t; TYPEDEF signed short int16_t; -- cgit v1.2.1