llvm-project
1952c705 - [libc] Add MAP_ANON as a synonym for MAP_ANONYMOUS. (#222789)

Commit
7 days ago
[libc] Add MAP_ANON as a synonym for MAP_ANONYMOUS. (#222789) `MAP_ANON` is specified in POSIX, but may not be present in Linux kernel headers, which we rely on to get the values of other `MAP_` values. Provide this macro ourselves to ensure the user code including `<sys/mman.h>` can use it.
Author
Parents
Loading