only fallback to gettimeofday/settimeofday syscalls if they exist
authorStefan O'Rear <sorear@fastmail.com>
Thu, 3 Sep 2020 07:33:10 +0000 (03:33 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 2 May 2022 03:25:21 +0000 (23:25 -0400)
commit12a757b3219408c5f96fd5b9daa5c551944337ee
tree60112a3a1c928feae147cd5e520593ff051133a7
parent41149ea8c7a6f28a1c60478fe7f6b9552aa39e3b
only fallback to gettimeofday/settimeofday syscalls if they exist

riscv32 and future architectures only provide the clock_ functions.
src/time/clock_gettime.c