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 bbd5e27 commit 70511f2Copy full SHA for 70511f2
src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -3218,7 +3218,14 @@ cfg_if! {
3218
}
3219
3220
3221
-pub const FIODGNAME: ::c_ulong = 0x80106678;
+cfg_if! {
3222
+ if #[cfg(target_pointer_width = "64")] {
3223
+ pub const FIODGNAME: ::c_ulong = 0x80106678;
3224
+ } else {
3225
+ pub const FIODGNAME: ::c_ulong = 0x80086678;
3226
+ }
3227
+}
3228
+
3229
pub const FIONWRITE: ::c_ulong = 0x40046677;
3230
pub const FIONSPACE: ::c_ulong = 0x40046676;
3231
pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;
0 commit comments