Commit 1f6c140
Fix clock_gettime visibility on Linux with -std=c11
Define _POSIX_C_SOURCE in platform.c on Linux so clock_gettime and
CLOCK_MONOTONIC are declared when compiling with strict C11 mode.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent bc54803 commit 1f6c140
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
0 commit comments