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))]
pub const ELAST: ::c_int = 96;
#[cfg(freebsd13)]
pub const ELAST: ::c_int = 97;
cfg_if! {
if #[cfg(not(freebsd13))] {
pub const ELAST: ::c_int = 96;
} else {
pub const EINTEGRITY: ::c_int = 97;
pub const ELAST: ::c_int = 97;
}
}
extern {
pub fn setgrent();