Add EINTEGRITY errno and fix style

This commit is contained in:
Luca Pizzamiglio 2019-07-21 17:55:11 +02:00
parent 96ea9c9952
commit c2c62cc8a4

View File

@ -190,10 +190,14 @@ cfg_if! {
} }
} }
#[cfg(not(freebsd13))] cfg_if! {
pub const ELAST: ::c_int = 96; if #[cfg(not(freebsd13))] {
#[cfg(freebsd13)] pub const ELAST: ::c_int = 96;
pub const ELAST: ::c_int = 97; } else {
pub const EINTEGRITY: ::c_int = 97;
pub const ELAST: ::c_int = 97;
}
}
extern { extern {
pub fn setgrent(); pub fn setgrent();