diff options
author | Gerd Zellweger <gzellweger@vmware.com> | 2018-11-26 18:27:13 -0800 |
---|---|---|
committer | Gerd Zellweger <gzellweger@vmware.com> | 2018-11-26 18:27:13 -0800 |
commit | 01feb166a2f2e5ff79ce7309e7fd114fa14df2a1 (patch) | |
tree | bd09bd7af4811dfd43e168a8deae5e6a74a4cadd | |
parent | 9e626828b3e2ba750bf947e14f0f42159d85eef9 (diff) | |
download | rust-libc-01feb166a2f2e5ff79ce7309e7fd114fa14df2a1.tar.gz |
Update sparc64 value for SO_TIMESTAMPING.
Signed-off-by: Gerd Zellweger <gzellweger@vmware.com>
-rw-r--r-- | src/unix/notbsd/linux/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/notbsd/linux/mod.rs b/src/unix/notbsd/linux/mod.rs index d837a13b87..4893004c7f 100644 --- a/src/unix/notbsd/linux/mod.rs +++ b/src/unix/notbsd/linux/mod.rs @@ -1672,7 +1672,10 @@ pub const ARPD_LOOKUP: ::c_ushort = 0x02; pub const ARPD_FLUSH: ::c_ushort = 0x03; pub const ATF_MAGIC: ::c_int = 0x80; +#[cfg(not(target_arch = "sparc64"))] pub const SO_TIMESTAMPING: ::c_int = 37; +#[cfg(target_arch = "sparc64")] +pub const SO_TIMESTAMPING: ::c_int = 35; pub const SCM_TIMESTAMPING: ::c_int = SO_TIMESTAMPING; // linux/module.h |