Re: [PATCH] libc/time: Add CLOCK_TAI
Corinna Vinschen via Newlib <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On Jul 11 06:35, Sebastian Huber wrote: > Hallo, > > FreeBSD also provides this clock identifier, maybe it should be > > #if __BSD_VISIBLE > > #define CLOCK_TAI (11) > > #endif > > ? Probably, but I seriously wonder how to implement CLOCK_TAI on Cygwin. IIUC, if you don't do anything special, the CLOCK_REALTIME and CLOCK_TAI return the same value, because the leap second is set to 0 at kernel startup. Maybe that's enough... Corinna