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 62f9f5f commit 61a6b27Copy full SHA for 61a6b27
src/unix/linux_like/linux/arch/powerpc/mod.rs
@@ -110,12 +110,5 @@ pub const TIOCM_DSR: ::c_int = 0x100;
110
pub const BOTHER: ::speed_t = 0o0037;
111
pub const IBSHIFT: ::tcflag_t = 16;
112
113
-cfg_if! {
114
- if #[cfg(target_endian = "little")] {
115
- pub const BLKSSZGET: ::c_int = 0x1268;
116
- pub const BLKPBSZGET: ::c_int = 0x127B;
117
- } else if #[cfg(target_endian = "big")] {
118
- pub const BLKSSZGET: ::c_int = 0x6812;
119
- pub const BLKPBSZGET: ::c_int = 0x7B12;
120
- }
121
-}
+pub const BLKSSZGET: ::c_int = 0x20001268;
+pub const BLKPBSZGET: ::c_int = 0x2000127B;
0 commit comments