We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96ea9c9 commit c2c62ccCopy full SHA for c2c62cc
src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs
@@ -190,10 +190,14 @@ cfg_if! {
190
}
191
192
193
-#[cfg(not(freebsd13))]
194
-pub const ELAST: ::c_int = 96;
195
-#[cfg(freebsd13)]
196
-pub const ELAST: ::c_int = 97;
+cfg_if! {
+ if #[cfg(not(freebsd13))] {
+ pub const ELAST: ::c_int = 96;
+ } else {
197
+ pub const EINTEGRITY: ::c_int = 97;
198
+ pub const ELAST: ::c_int = 97;
199
+ }
200
+}
201
202
extern {
203
pub fn setgrent();
0 commit comments