diff options
author | Philipp Keller <philipp.keller@gmail.com> | 2016-09-16 07:14:29 +0200 |
---|---|---|
committer | Philipp Keller <philipp.keller@gmail.com> | 2016-09-16 07:14:29 +0200 |
commit | 631a27a545906f739e50393509e71fb847740c3a (patch) | |
tree | 1d3279093084c3f2b650bb3ff8b88c2df9c2d69c /src/sys/mman.rs | |
parent | 23a7ea64938cc73d476e42b80a243fefbe7111b2 (diff) | |
parent | 7c0570d3ad3c8e5fdd45c7de745771a6be054c3c (diff) | |
download | nix-631a27a545906f739e50393509e71fb847740c3a.zip |
made it running with rust 1.2, added documentation to mkstemp
Diffstat (limited to 'src/sys/mman.rs')
-rw-r--r-- | src/sys/mman.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/mman.rs b/src/sys/mman.rs index 5bc1c82d..a1bf6134 100644 --- a/src/sys/mman.rs +++ b/src/sys/mman.rs @@ -131,7 +131,7 @@ mod consts { const MAP_RENAME = libc::MAP_RENAME, const MAP_NORESERVE = libc::MAP_NORESERVE, const MAP_HASSEMAPHORE = libc::MAP_HASSEMAPHORE, - #[cfg(not(target_os = "openbsd"))] + #[cfg(not(any(target_os = "openbsd", target_os = "netbsd")))] const MAP_STACK = libc::MAP_STACK, #[cfg(target_os = "netbsd")] const MAP_WIRED = libc::MAP_WIRED, |