diff options
author | Jia Tan <jiat0218@gmail.com> | 2022-12-29 01:10:53 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2022-12-30 23:34:31 +0800 |
commit | 74dae7d30091e906d6a92a57952dea4354473f9b (patch) | |
tree | 128a776f1c62de4504aa5e6448c9ec3fc130d211 /src/common/tuklib_cpucores.h | |
parent | Translations: Add Ukrainian translations of man pages. (diff) | |
download | xz-74dae7d30091e906d6a92a57952dea4354473f9b.tar.xz |
Build: No longer require HAVE_DECL_CLOCK_MONOTONIC to always be set.
Previously, if threading was enabled HAVE_DECL_CLOCK_MONOTONIC would always
be set to 0 or 1. However, this macro was needed in xz so if xz was not
built with threading and HAVE_DECL_CLOCK_MONOTONIC was not defined but
HAVE_CLOCK_GETTIME was, it caused a warning during build. Now,
HAVE_DECL_CLOCK_MONOTONIC has been renamed to HAVE_CLOCK_MONOTONIC and
will only be set if it is 1.
Diffstat (limited to 'src/common/tuklib_cpucores.h')
0 files changed, 0 insertions, 0 deletions