]> git.ipfire.org Git - thirdparty/zstd.git/commit
restore support of clock_gettime() for POSIX systems
authorYann Collet <cyan@fb.com>
Fri, 13 Jan 2023 04:45:11 +0000 (20:45 -0800)
committerYann Collet <cyan@fb.com>
Fri, 13 Jan 2023 05:08:15 +0000 (21:08 -0800)
commita2ef23dec03a18978dc945cee557d280160f8cb6
tree2135faf5a000835faaa3972896ff4fecdbd3962f
parentbcfb7ad03c47d3018eeaec2c68be9d37dc114151
restore support of clock_gettime() for POSIX systems

This should notably allow posix systems with timespec_get()
to have access to a high resolution timer,
instead of falling back to C90's clock_t.
programs/timefn.c