[hurd,commited] hurd: Define _POSIX_TIMERS to 200809L

Samuel Thibault samuel.thibault@ens-lyon.org
Sun Feb 22 22:36:02 GMT 2026


We now have monotonic vs realtime clocks, and high-precision.
---
 sysdeps/mach/hurd/bits/posix_opt.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/mach/hurd/bits/posix_opt.h b/sysdeps/mach/hurd/bits/posix_opt.h
index a1a0707d25..6a6b346a31 100644
--- a/sysdeps/mach/hurd/bits/posix_opt.h
+++ b/sysdeps/mach/hurd/bits/posix_opt.h
@@ -150,8 +150,8 @@
 /* The `spawn' function family is supported.  */
 #define _POSIX_SPAWN	200809L
 
-/* We do not have POSIX timers, but could in future without ABI change.  */
-#define _POSIX_TIMERS	0
+/* We have POSIX timers.  */
+#define _POSIX_TIMERS	200809L
 
 /* The barrier functions are available.  */
 #define _POSIX_BARRIERS	200809L
-- 
2.51.0



More information about the Libc-alpha mailing list