[hurd,commited 4/4] hurd: Set _POSIX_MONOTONIC_CLOCK to 200809L
Samuel Thibault
samuel.thibault@ens-lyon.org
Sun Jan 12 22:32:54 GMT 2025
Now that CLOCK_MONOTONIC is supported.
---
sysdeps/mach/hurd/bits/posix_opt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/mach/hurd/bits/posix_opt.h b/sysdeps/mach/hurd/bits/posix_opt.h
index 17197b1cbb..b7f80e32e1 100644
--- a/sysdeps/mach/hurd/bits/posix_opt.h
+++ b/sysdeps/mach/hurd/bits/posix_opt.h
@@ -163,7 +163,7 @@
#define _POSIX_THREAD_PROCESS_SHARED -1
/* The monotonic clock might be available. */
-#define _POSIX_MONOTONIC_CLOCK 0
+#define _POSIX_MONOTONIC_CLOCK 200809L
/* The clock selection interfaces are available. */
#define _POSIX_CLOCK_SELECTION 200809L
--
2.45.2
More information about the Libc-alpha
mailing list