@@ -2133,7 +2133,7 @@ pub mod consts {
2133
2133
pub static MAP_SHARED : c_int = 0x0001 ;
2134
2134
pub static MAP_PRIVATE : c_int = 0x0002 ;
2135
2135
pub static MAP_FIXED : c_int = 0x0010 ;
2136
- pub static MAP_ANON : c_int = 0x0020 ;
2136
+ pub static MAP_ANON : c_int = 0x0800 ;
2137
2137
2138
2138
pub static MAP_FAILED : * c_void = -1 as * c_void ;
2139
2139
@@ -2425,20 +2425,19 @@ pub mod consts {
2425
2425
pub static O_DSYNC : c_int = 16 ;
2426
2426
pub static O_SYNC : c_int = 16400 ;
2427
2427
2428
- pub static PROT_GROWSDOWN : c_int = 0x010000000 ;
2429
- pub static PROT_GROWSUP : c_int = 0x020000000 ;
2428
+ pub static PROT_GROWSDOWN : c_int = 0x01000000 ;
2429
+ pub static PROT_GROWSUP : c_int = 0x02000000 ;
2430
2430
2431
2431
pub static MAP_TYPE : c_int = 0x000f ;
2432
- pub static MAP_ANONONYMOUS : c_int = 0x0020 ;
2433
- pub static MAP_32BIT : c_int = 0x0040 ;
2434
- pub static MAP_GROWSDOWN : c_int = 0x0100 ;
2435
- pub static MAP_DENYWRITE : c_int = 0x0800 ;
2436
- pub static MAP_EXECUTABLE : c_int = 0x01000 ;
2437
- pub static MAP_LOCKED : c_int = 0x02000 ;
2438
- pub static MAP_NONRESERVE : c_int = 0x04000 ;
2439
- pub static MAP_POPULATE : c_int = 0x08000 ;
2440
- pub static MAP_NONBLOCK : c_int = 0x010000 ;
2441
- pub static MAP_STACK : c_int = 0x020000 ;
2432
+ pub static MAP_ANONONYMOUS : c_int = 0x0800 ;
2433
+ pub static MAP_GROWSDOWN : c_int = 0x01000 ;
2434
+ pub static MAP_DENYWRITE : c_int = 0x02000 ;
2435
+ pub static MAP_EXECUTABLE : c_int = 0x04000 ;
2436
+ pub static MAP_LOCKED : c_int = 0x08000 ;
2437
+ pub static MAP_NONRESERVE : c_int = 0x0400 ;
2438
+ pub static MAP_POPULATE : c_int = 0x010000 ;
2439
+ pub static MAP_NONBLOCK : c_int = 0x020000 ;
2440
+ pub static MAP_STACK : c_int = 0x040000 ;
2442
2441
}
2443
2442
#[ cfg( target_os = "linux" ) ]
2444
2443
pub mod sysconf {
0 commit comments