Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LibC::MAP_ANONYMOUS to x86_64-darwin to match other platforms #10398

Merged
merged 1 commit into from
Feb 16, 2021
Merged

Add LibC::MAP_ANONYMOUS to x86_64-darwin to match other platforms #10398

merged 1 commit into from
Feb 16, 2021

Conversation

sourgrasses
Copy link
Contributor

I guess this bit of the standard library is mostly for internal use, but I noticed that all the BSD platforms except Darwin have a LibC::MAP_ANONYMOUS synonym for LibC::MAP_ANON, presumably to mirror the synonyms in the actual libc headers and to improve portability of code using mmap, so I added that to make it consistent with the others.

@asterite asterite added this to the 1.0.0 milestone Feb 16, 2021
@asterite asterite merged commit bb5a793 into crystal-lang:master Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants