We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2b8b8f commit 0b6cab8Copy full SHA for 0b6cab8
src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -3152,7 +3152,14 @@ cfg_if! {
3152
}
3153
3154
3155
-pub const FIODGNAME: ::c_ulong = 0x80106678;
+cfg_if! {
3156
+ if #[cfg(target_pointer_width = "64")] {
3157
+ pub const FIODGNAME: ::c_ulong = 0x80106678;
3158
+ } else {
3159
+ pub const FIODGNAME: ::c_ulong = 0x80086678;
3160
+ }
3161
+}
3162
+
3163
pub const FIONWRITE: ::c_ulong = 0x40046677;
3164
pub const FIONSPACE: ::c_ulong = 0x40046676;
3165
pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;
0 commit comments