Commit bac1442
committed
Auto merge of #3146 - lcheylus:openbsd, r=JohnTitor
Add OpenBSD CLOCK_* constants
To compile [`wasmer-wasi`](https://github.com/wasmerio/wasmer/tree/master/lib/wasi) crate (part of Wasmer) on OpenBSD, I need to add CLOCK_* constants from `/usr/include/sys_time.h` file.
- Add CLOCK_* constants in `src/unix/bsd/netbsdlike/openbsd/mod.rs`
- Update `libc-test/semver/openbsd.txt` accordingly
cc `@semarie`File tree
2 files changed
+10
-0
lines changed- libc-test/semver
- src/unix/bsd/netbsdlike/openbsd
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1660 | 1660 | | |
1661 | 1661 | | |
1662 | 1662 | | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
1663 | 1669 | | |
1664 | 1670 | | |
1665 | 1671 | | |
| |||
0 commit comments