gethrxtime now uses gettime
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Nov 2005 20:20:02 +0000 (20:20 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Nov 2005 20:20:02 +0000 (20:20 +0000)
lib/ChangeLog

index 8a3d9c8d6eb0b58e0885e6d9365649e95b97291e..e42f81ae594433548433f9e57cedbcc574baaa9c 100644 (file)
@@ -1,3 +1,12 @@
+2005-11-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gethrxtime.c: Include "timespec.h" rather than the sys/time / time
+       business.
+       (gethrxtime) [! (HAVE_NANOUPTIME
+       || (defined CLOCK_MONOTONIC && HAVE_CLOCK_GETTIME)
+       || HAVE_MICROUPTIME)]: Fall back on gettime rather than rolling
+       our own approximation.
+
 2005-11-01  Paul Eggert  <eggert@cs.ucla.edu>
 
        * posixtm.h (PDS_PRE_2000): New macro.