summaryrefslogtreecommitdiff
path: root/src/unix/notbsd/linux/s390x.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-03-24 22:44:56 +0000
committerbors <bors@rust-lang.org>2018-03-24 22:44:56 +0000
commita7e78a78e17c8776d7780008ccb3ce541ec64ae9 (patch)
tree2025855c6cf3dc8e242ac9f42830edcb6a815df4 /src/unix/notbsd/linux/s390x.rs
parent9d6556c9fa61da9a70d6bb747a137c6703cdc3ef (diff)
parent0bb381c51d34d2f5b6d5aac87bf07dda0085628a (diff)
downloadrust-libc-a7e78a78e17c8776d7780008ccb3ce541ec64ae9.tar.gz
Auto merge of #955 - afck:master, r=alexcrichton0.2.40
Add MCL_CURRENT and MCL_FUTURE to s390.
Diffstat (limited to 'src/unix/notbsd/linux/s390x.rs')
-rw-r--r--src/unix/notbsd/linux/s390x.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/notbsd/linux/s390x.rs b/src/unix/notbsd/linux/s390x.rs
index d7ed38368c..103abcc790 100644
--- a/src/unix/notbsd/linux/s390x.rs
+++ b/src/unix/notbsd/linux/s390x.rs
@@ -735,6 +735,9 @@ pub const PTRACE_INTERRUPT: ::c_uint = 0x4207;
pub const PTRACE_LISTEN: ::c_uint = 0x4208;
pub const PTRACE_PEEKSIGINFO: ::c_uint = 0x4209;
+pub const MCL_CURRENT: ::c_int = 0x0001;
+pub const MCL_FUTURE: ::c_int = 0x0002;
+
pub const EPOLLWAKEUP: ::c_int = 0x20000000;
pub const MAP_HUGETLB: ::c_int = 0x040000;