Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OS X (and probably all BSDs) spell the flag for anonymous mmap MAP_ANON instead of Linux's MAP_ANONYMOUS. Until someone else has a more clever idea of how to abstract out this particular platform gotcha, simply #define MAP_ANONYMOUS as MAP_ANON when the latter is available and the former isn't.
- Loading branch information