Skip to content

Commit ac1a119

Browse files
committed
Auto merge of #1022 - sfackler:phys-pages, r=alexcrichton
Add _SC_PHYS_PAGES on macOS
2 parents 42a5ad8 + 4aabb87 commit ac1a119

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,7 @@ pub const _SC_XOPEN_SHM: ::c_int = 113;
11591159
pub const _SC_XOPEN_UNIX: ::c_int = 115;
11601160
pub const _SC_XOPEN_VERSION: ::c_int = 116;
11611161
pub const _SC_XOPEN_XCU_VERSION: ::c_int = 121;
1162+
pub const _SC_PHYS_PAGES: ::c_int = 200;
11621163

11631164
pub const PTHREAD_PROCESS_PRIVATE: ::c_int = 2;
11641165
pub const PTHREAD_PROCESS_SHARED: ::c_int = 1;

0 commit comments

Comments
 (0)