summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2018-10-29 16:18:16 +0100
committergnzlbg <gonzalobg88@gmail.com>2018-10-29 17:31:00 +0100
commit4182efd1671dd93acc517cc2e19c14ea4a23ad9f (patch)
tree94140c64023cacc6d608980868ad61b76b30e2c1
parenta379fb3c4877c048c579c530da914f2806ff6d41 (diff)
downloadrust-libc-4182efd1671dd93acc517cc2e19c14ea4a23ad9f.tar.gz
update osx constants for xcode10
-rw-r--r--.travis.yml4
-rw-r--r--src/unix/bsd/apple/mod.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index cfa62f123f..da386aa31a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -87,7 +87,7 @@ matrix:
rust: beta
- os: osx
env: TARGET=x86_64-apple-darwin NO_ADD=1
- osx_image: xcode9.4
+ osx_image: xcode10
rust: beta
# nightly
@@ -95,7 +95,7 @@ matrix:
rust: nightly
- os: osx
env: TARGET=x86_64-apple-darwin NO_ADD=1
- osx_image: xcode9.4
+ osx_image: xcode10
rust: nightly
# not available on stable
# without --release the build fails
diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs
index fe85eb92b2..1f0e0e00d2 100644
--- a/src/unix/bsd/apple/mod.rs
+++ b/src/unix/bsd/apple/mod.rs
@@ -785,8 +785,8 @@ pub const VM_FLAGS_SUPERPAGE_MASK: ::c_int = 0x70000;
pub const VM_FLAGS_RETURN_DATA_ADDR: ::c_int = 0x100000;
pub const VM_FLAGS_RETURN_4K_DATA_ADDR: ::c_int = 0x800000;
pub const VM_FLAGS_ALIAS_MASK: ::c_int = 0xFF000000;
-pub const VM_FLAGS_USER_ALLOCATE: ::c_int = 0xff07401b;
-pub const VM_FLAGS_USER_MAP: ::c_int = 0xff97401b;
+pub const VM_FLAGS_USER_ALLOCATE: ::c_int = 0xff07401f;
+pub const VM_FLAGS_USER_MAP: ::c_int = 0xff97401f;
pub const VM_FLAGS_USER_REMAP: ::c_int = VM_FLAGS_FIXED | VM_FLAGS_ANYWHERE |
VM_FLAGS_RANDOM_ADDR |
VM_FLAGS_OVERWRITE |