Home GnuPG
Diffusion nPth 4e25a69e9e86

Provide gettimeofday fallback for clock_gettime.
4e25a69e9e86Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Provide gettimeofday fallback for clock_gettime.

* configure.ac (AC_CHECK_FUNCS): Check for gettimeofday.
* src/npth.c (npth_clock_gettime): Use gettimeofday if clock_gettime
is not available.

This should fix the MacOS problem.

Details

Provenance
wernerAuthored on May 10 2012, 8:28 PM
Parents
rPTH363c370bd35d: Return an error if npth_rwlock_timedwrlock is not supported.
Branches
Unknown
Tags
Unknown