aboutsummaryrefslogtreecommitdiff
path: root/src/xz
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-04-19 09:20:44 +0300
committerLasse Collin <lasse.collin@tukaani.org>2011-04-19 09:20:44 +0300
commit9c1b05828a88eff54409760b92162c7cc2c7cff6 (patch)
treea7369efecb6402b18289d7ea51a6b47f370cdfcd /src/xz
parentUpdate THANKS. (diff)
downloadxz-9c1b05828a88eff54409760b92162c7cc2c7cff6.tar.xz
Fix portability problems in mythread.h.
Use gettimeofday() if clock_gettime() isn't available (e.g. Darwin). The test for availability of pthread_condattr_setclock() and CLOCK_MONOTONIC was incorrect. Instead of fixing the #ifdefs, use an Autoconf test. That way if there exists a system that supports them but doesn't specify the matching POSIX #defines, the features will still get detected. Don't try to use pthread_sigmask() on OpenVMS. It doesn't have that function. Guard mythread.h against being #included multiple times.
Diffstat (limited to 'src/xz')
0 files changed, 0 insertions, 0 deletions