about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan Cumming <etaoins@gmail.com>2014-11-24 15:14:31 +0100
committerFlorian Weimer <fweimer@redhat.com>2014-11-24 17:28:41 +0100
commite9ff8efb5cb0fd944f4a5c8f03b14dee508cf7e8 (patch)
treef1d7e79075778176d22bd8246c323e42fcf66718
parent9744496f8a479c23174cc330e4d422f130804c04 (diff)
downloadglibc-e9ff8efb5cb0fd944f4a5c8f03b14dee508cf7e8.tar.gz
glibc-e9ff8efb5cb0fd944f4a5c8f03b14dee508cf7e8.tar.xz
glibc-e9ff8efb5cb0fd944f4a5c8f03b14dee508cf7e8.zip
Define CLOCK_TAI on Linux (bug 17608)
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/bits/time.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ec318746e9..dac4ad15de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-24  Ryan Cumming  <etaoins@gmail.com>
+
+	[BZ #17608]
+	* sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
+
 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #17633]
diff --git a/sysdeps/unix/sysv/linux/bits/time.h b/sysdeps/unix/sysv/linux/bits/time.h
index 10805475bf..eb6da83e78 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