Skip to content
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ libc = { version = "0.2.154", default-features = false }
libc = { version = "0.2.154", default-features = false }

# use_file
[target.'cfg(any(target_os = "haiku", target_os = "redox", target_os = "nto", target_os = "aix"))'.dependencies]
[target.'cfg(any(target_os = "haiku", target_os = "redox", target_os = "nto", target_os = "aix", target_os = "zos"))'.dependencies]
libc = { version = "0.2.154", default-features = false }

# vxworks
Expand Down
1 change: 1 addition & 0 deletions src/backends.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ cfg_if! {
target_os = "redox",
target_os = "nto",
target_os = "aix",
target_os = "zos",
))] {
mod use_file;
pub use use_file::*;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/get_errno.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cfg_if! {
if #[cfg(any(target_os = "netbsd", target_os = "openbsd", target_os = "android", target_os = "cygwin"))] {
if #[cfg(any(target_os = "netbsd", target_os = "openbsd", target_os = "android", target_os = "cygwin", target_os = "zos"))] {
use libc::__errno as errno_location;
} else if #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "hurd", target_os = "redox", target_os = "dragonfly"))] {
use libc::__errno_location as errno_location;
Expand Down
Loading