diff options
author | Steven Fackler <sfackler@palantir.com> | 2018-06-15 11:48:57 -0700 |
---|---|---|
committer | Steven Fackler <sfackler@palantir.com> | 2018-06-15 11:48:57 -0700 |
commit | 4aabb8766162cebc56e7aaceccf583d1b11f9726 (patch) | |
tree | bff8967cc402b3f4620a9fd486c1834a9d712924 | |
parent | 8a85d662b90c14d458bc4ae9521a05564e20d7ae (diff) | |
download | rust-libc-4aabb8766162cebc56e7aaceccf583d1b11f9726.tar.gz |
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 d97eb3f4f6..f82322ac2d 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -1151,6 +1151,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; |