diff options
author | bors <bors@rust-lang.org> | 2018-06-28 02:58:09 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2018-06-28 02:58:09 +0000 |
commit | ac1a1193fb98046daeac16ba34440f92f6ab4a0d (patch) | |
tree | c46e17e1c0adaf471b3fa6ddad058f66303e867d | |
parent | 42a5ad8cd9bcb72bc39bfee11f08e266a3557215 (diff) | |
parent | 4aabb8766162cebc56e7aaceccf583d1b11f9726 (diff) | |
download | rust-libc-ac1a1193fb98046daeac16ba34440f92f6ab4a0d.tar.gz |
Auto merge of #1022 - sfackler:phys-pages, r=alexcrichton
Add _SC_PHYS_PAGES on macOS
-rw-r--r-- | src/unix/bsd/apple/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs index fdc8daba26..4abe466a0e 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -1159,6 +1159,7 @@ pub const _SC_XOPEN_SHM: ::c_int = 113; pub const _SC_XOPEN_UNIX: ::c_int = 115; pub const _SC_XOPEN_VERSION: ::c_int = 116; pub const _SC_XOPEN_XCU_VERSION: ::c_int = 121; +pub const _SC_PHYS_PAGES: ::c_int = 200; pub const PTHREAD_PROCESS_PRIVATE: ::c_int = 2; pub const PTHREAD_PROCESS_SHARED: ::c_int = 1; |