blob: 140db6151f76ea3acd244445db050260326ce272 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- src/utils/os_unix.c.orig 2024-05-10 09:57:55.000000000 -0700
+++ src/utils/os_unix.c 2024-06-01 22:28:22.467129000 -0700
@@ -103,10 +103,12 @@
break;
#endif
#ifdef CLOCK_MONOTONIC
+#if !(defined(CLOCK_BOOTTIME) && CLOCK_BOOTTIME == CLOCK_MONOTONIC)
case CLOCK_MONOTONIC:
clock_id = CLOCK_REALTIME;
break;
#endif
+#endif
case CLOCK_REALTIME:
return -1;
}
|