Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ extern "C" {
link_name = "__errno_location"
)]
#[cfg_attr(target_os = "aix", link_name = "_Errno")]
#[cfg_attr(target_os = "nto", link_name = "__get_errno_ptr")]
#[cfg_attr(
any(target_os = "nto", target_os = "qnx"),
link_name = "__get_errno_ptr"
)]
// Newer libc versions re-export `c_int` from `std` which is incompatible
// with Rust < 1.64. However, this is not actually a problem as users can
// use an older `libc`.
Expand Down
Loading