From e9ff8efb5cb0fd944f4a5c8f03b14dee508cf7e8 Mon Sep 17 00:00:00 2001 From: Ryan Cumming Date: Mon, 24 Nov 2014 15:14:31 +0100 Subject: [PATCH] Define CLOCK_TAI on Linux (bug 17608) --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/bits/time.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index ec31874..dac4ad1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-11-24 Ryan Cumming + + [BZ #17608] + * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI. + 2014-11-24 Joseph Myers [BZ #17633] diff --git a/sysdeps/unix/sysv/linux/bits/time.h b/sysdeps/unix/sysv/linux/bits/time.h index 1080547..eb6da83 100644 --- a/sysdeps/unix/sysv/linux/bits/time.h +++ b/sysdeps/unix/sysv/linux/bits/time.h @@ -77,6 +77,8 @@ extern long int __sysconf (int); # define CLOCK_REALTIME_ALARM 8 /* Like CLOCK_BOOTTIME but also wakes suspended system. */ # define CLOCK_BOOTTIME_ALARM 9 +/* Like CLOCK_REALTIME but in International Atomic Time. */ +# define CLOCK_TAI 11 /* Flag to indicate time is absolute. */ # define TIMER_ABSTIME 1 -- 2.7.4