We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0313954 commit 4deac8eCopy full SHA for 4deac8e
src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -3217,7 +3217,14 @@ cfg_if! {
3217
}
3218
3219
3220
-pub const FIODGNAME: ::c_ulong = 0x80106678;
+cfg_if! {
3221
+ if #[cfg(target_pointer_width = "64")] {
3222
+ pub const FIODGNAME: ::c_ulong = 0x80106678;
3223
+ } else {
3224
+ pub const FIODGNAME: ::c_ulong = 0x80086678;
3225
+ }
3226
+}
3227
+
3228
pub const FIONWRITE: ::c_ulong = 0x40046677;
3229
pub const FIONSPACE: ::c_ulong = 0x40046676;
3230
pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;
0 commit comments