#[allow(unused)]
use crate::types::c_int;
#[cfg(any(target_env = "wasi", target_os = "wasi"))]
pub const EAGAIN: c_int = 6;
#[cfg(any(target_env = "wasi", target_os = "wasi"))]
pub const EWOULDBLOCK: c_int = EAGAIN;
#[cfg(windows)]
pub const EAGAIN: c_int = 11;
#[cfg(windows)]
pub const EWOULDBLOCK: c_int = 140;
#[cfg(target_os = "fuchsia")]
pub const EAGAIN: c_int = 11;
#[cfg(target_os = "fuchsia")]
pub const EWOULDBLOCK: c_int = EAGAIN;
#[cfg(target_os = "solid_asp3")]
pub const EAGAIN: c_int = 11;
#[cfg(target_os = "solid_asp3")]
pub const EWOULDBLOCK: c_int = EAGAIN;
#[cfg(target_os = "vxworks")]
pub const EAGAIN: c_int = 11;
#[cfg(target_os = "vxworks")]
pub const EWOULDBLOCK: c_int = 70;
#[cfg(target_os = "teeos")]
pub const EAGAIN: c_int = 11;
#[cfg(target_os = "teeos")]
pub const EWOULDBLOCK: c_int = EAGAIN;
#[cfg(
any(
target_env = "newlib",
target_os = "solaris", target_os = "illumos", target_os = "nto",
target_os = "aix", target_os = "android", target_os = "linux",
target_os = "l4re"
)
)]
pub const EAGAIN: c_int = 11;
#[cfg(
any(
target_os = "solaris", target_os = "illumos", target_os = "nto",
target_os = "aix", target_os = "android", target_os = "linux",
target_os = "l4re"
)
)]
pub const EWOULDBLOCK: c_int = EAGAIN;
#[cfg(
any(
target_os = "macos", target_os = "ios", target_os = "tvos",
target_os = "watchos", target_os = "freebsd", target_os = "dragonfly",
target_os = "openbsd", target_os = "netbsd"
)
)]
pub const EAGAIN: c_int = 35;
#[cfg(
any(
target_os = "macos", target_os = "ios", target_os = "tvos",
target_os = "watchos", target_os = "freebsd", target_os = "dragonfly",
target_os = "openbsd", target_os = "netbsd"
)
)]
pub const EWOULDBLOCK: c_int = EAGAIN;
#[cfg(target_os = "redox")]
pub const EAGAIN: c_int = 11;
#[cfg(target_os = "redox")]
pub const EWOULDBLOCK: c_int = 41;
#[cfg(target_os = "haiku")]
pub const EAGAIN: c_int = -2147483637;
#[cfg(target_os = "haiku")]
pub const EWOULDBLOCK: c_int = EAGAIN;
#[cfg(target_os = "emscripten")]
pub const EAGAIN: c_int = 6;
#[cfg(target_os = "emscripten")]
pub const EWOULDBLOCK: c_int = EAGAIN;