summaryrefslogtreecommitdiff
path: root/clock_gettime.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert attempt to configure clock_gettime(2) on _POSIX_TIMERS...Eric S. Raymond2016-01-061-3/+2
| | | | ...seems it broke the Mac port.
* Fix some erroneous structure names and rename a formal argument for clarity.Eric S. Raymond2016-01-041-5/+5
|
* Condition clock_gettime() on _POSIX_TIMERS...Eric S. Raymond2016-01-041-2/+3
| | | | | | ...rather than requiring the build system to test for it. Generalized from an idea by Jon Schleuter.
* OS X, missing (misplaced) return in clock_gettime.Gary E. Miller2015-03-091-1/+1
| | | | Bad nesting of #ifdef and return 0
* OS X can now compile clock_gettime.cGary E. Miller2015-03-081-2/+2
| | | | Much more to do on OS X
* Implement POSIX clock_gettime(3) for systems that lack it (like Mac OS X).Eric S. Raymond2015-03-011-0/+47
On Mac OS X it will get proper nanosecond precision; elsewhere, only microseconds. Hides the conformance failure from the rest of the code. All regression tests pass.