Commit 3d82541
authored
Do not define
`libc` already defines constants like `STATX_TYPE` for `musl 1.2.3+` [^1], so
`statx_flags` is unnecessary in this environment.
[^1]: https://docs.rs/libc/latest/src/libc/unix/linux_like/mod.rs.html#1679
Fixes #1502statx_flags for LoongArch64 with musl (#1503)1 parent abb4ca0 commit 3d82541
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
494 | 498 | | |
495 | 499 | | |
496 | 500 | | |
| |||
509 | 513 | | |
510 | 514 | | |
511 | 515 | | |
512 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
513 | 521 | | |
514 | 522 | | |
515 | 523 | | |
| |||
0 commit comments