aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gettime.c')
-rw-r--r--lib/gettime.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/gettime.c b/lib/gettime.c
index 171f22476f8..bb59c44ff0e 100644
--- a/lib/gettime.c
+++ b/lib/gettime.c
@@ -30,8 +30,6 @@ gettime (struct timespec *ts)
30{ 30{
31#if defined CLOCK_REALTIME && HAVE_CLOCK_GETTIME 31#if defined CLOCK_REALTIME && HAVE_CLOCK_GETTIME
32 clock_gettime (CLOCK_REALTIME, ts); 32 clock_gettime (CLOCK_REALTIME, ts);
33#elif HAVE_NANOTIME
34 nanotime (ts);
35#else 33#else
36 struct timeval tv; 34 struct timeval tv;
37 gettimeofday (&tv, NULL); 35 gettimeofday (&tv, NULL);