]> granicus.if.org Git - check/commit
Define monotonic and realtime clock, even if librt is available
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Tue, 1 Oct 2013 22:21:06 +0000 (22:21 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Tue, 1 Oct 2013 22:21:06 +0000 (22:21 +0000)
commit91fe02645fa3949d6339b7a2c04ee5103ed2b5af
tree0043bc5f4763d528a519223d67601fd238c91f76
parent1a0ffd2efab3e4b8d1b00decf9b8ef2b4c28e4c2
Define monotonic and realtime clock, even if librt is available

Cygwin has librt and implements clock_gettime(), but does not
define CLOCK_MONOTONIC.

Moving these definitions outside of the check for librt, as they
may be needed even if the system has librt.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@818 64e312b2-a51f-0410-8e61-82d0ca0eb02a
lib/libcompat.h