Commit 6526e00
committed
fix(win32): clock_* requires to link winpthread
MinGW is totally garbage, 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 3628d76 commit 6526e00
1 file changed
Lines changed: 6 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 | + | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
| |||
0 commit comments