Skip to content

Commit a7c0dcf

Browse files
committed
Add missing MAP_ANONYMOUS for Solaris
1 parent 53ce57e commit a7c0dcf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,7 @@ pub const MAP_PRIVATE: ::c_int = 0x0002;
10101010
pub const MAP_FIXED: ::c_int = 0x0010;
10111011
pub const MAP_NORESERVE: ::c_int = 0x40;
10121012
pub const MAP_ANON: ::c_int = 0x0100;
1013+
pub const MAP_ANONYMOUS: ::c_int = 0x0100;
10131014
pub const MAP_RENAME: ::c_int = 0x20;
10141015
pub const MAP_ALIGN: ::c_int = 0x200;
10151016
pub const MAP_TEXT: ::c_int = 0x400;

0 commit comments

Comments
 (0)