Commit 7fa3959
fix(benchmarks): add _POSIX_C_SOURCE to expose CLOCK_MONOTONIC_RAW
-std=c17 without POSIX feature macros doesn't expose CLOCK_MONOTONIC or
CLOCK_MONOTONIC_RAW from <time.h>. Adding _POSIX_C_SOURCE=200809L
enables the POSIX.1-2008 extensions which include these constants.
Co-Authored-By: Oz <oz-agent@warp.dev>1 parent c4fae7c commit 7fa3959
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments