diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-07-28 22:53:10 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-07-29 12:31:02 -0400 |
commit | 244858553e7eaacd135de5c1cdb49489796b6d02 (patch) | |
tree | 1a0c5c9025086c02c9bfaa75416a1954f4549cf4 /tools/musl-clang.in | |
parent | a02bd52864a21b46206eaf67e1e7fb53834b594a (diff) | |
download | musl-244858553e7eaacd135de5c1cdb49489796b6d02.tar.gz musl-244858553e7eaacd135de5c1cdb49489796b6d02.tar.xz musl-244858553e7eaacd135de5c1cdb49489796b6d02.zip |
clock_getres: don't assume time_t is 32-bit on 32-bit archs
the time64 syscall for this is not necessary or useful, since clock resolution is generally better than 68-year granularity. if there's a 32-bit syscall, use it and expand the result into timespec; otherwise there is only one syscall and it does the right thing to store to timespec directly. on 64-bit archs, there is no change to the code after preprocessing.
Diffstat (limited to 'tools/musl-clang.in')
0 files changed, 0 insertions, 0 deletions