Commit 315268d
committed
fix(win32): clock_* requires to link winpthread
Glibc since 2.17 have move clock_* from librt to libc so single-thread
program can use these functions without the overheads associated with
multi-thread support. But MinGW doesn't.
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>1 parent e2559d5 commit 315268d
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
| 7 | + | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
| |||
0 commit comments