Skip to content

Commit 01feb16

Browse files
author
Gerd Zellweger
committed
Update sparc64 value for SO_TIMESTAMPING.
Signed-off-by: Gerd Zellweger <[email protected]>
1 parent 9e62682 commit 01feb16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/notbsd/linux/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,7 +1672,10 @@ pub const ARPD_LOOKUP: ::c_ushort = 0x02;
16721672
pub const ARPD_FLUSH: ::c_ushort = 0x03;
16731673
pub const ATF_MAGIC: ::c_int = 0x80;
16741674

1675+
#[cfg(not(target_arch = "sparc64"))]
16751676
pub const SO_TIMESTAMPING: ::c_int = 37;
1677+
#[cfg(target_arch = "sparc64")]
1678+
pub const SO_TIMESTAMPING: ::c_int = 35;
16761679
pub const SCM_TIMESTAMPING: ::c_int = SO_TIMESTAMPING;
16771680

16781681
// linux/module.h

0 commit comments

Comments
 (0)