[PATCH] libc/time: Add CLOCK_TAI
Sebastian Huber <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
For _GNU_VISIBLE, provide the CLOCK_TAI clock identifier for the
International Atomic Time. Use the value specified by glibc and Linux.
---
newlib/libc/include/time.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h
index a2df4f7fd..58939a378 100644
--- a/newlib/libc/include/time.h
+++ b/newlib/libc/include/time.h
@@ -291,6 +291,8 @@ extern "C" {
#define CLOCK_BOOTTIME_ALARM (9)
+#define CLOCK_TAI (11)
+
#endif
#if defined(_POSIX_CPUTIME)
--
2.43.0