diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-10-22 17:08:56 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-11-02 18:30:56 -0400 |
commit | d6dcfe4d0c58856690ecbad4cf191d7c9ee1a4a8 (patch) | |
tree | 111997bb27d2e0266025960b090d620d80a44d34 /include | |
parent | b60fdf133c033d4ad6b04a8237f253563fae5928 (diff) | |
download | musl-d6dcfe4d0c58856690ecbad4cf191d7c9ee1a4a8.tar.gz musl-d6dcfe4d0c58856690ecbad4cf191d7c9ee1a4a8.tar.bz2 musl-d6dcfe4d0c58856690ecbad4cf191d7c9ee1a4a8.tar.xz musl-d6dcfe4d0c58856690ecbad4cf191d7c9ee1a4a8.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/alltypes.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
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; |