Skip to content
Snippets Groups Projects
Commit 5cab64f9 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[Libc] add a few non-POSIX flags for mmap

parent a324fcdb
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,11 @@ __PUSH_FC_STDLIB ...@@ -41,6 +41,11 @@ __PUSH_FC_STDLIB
#define MAP_PRIVATE 0x02 #define MAP_PRIVATE 0x02
#define MAP_SHARED 0x01 #define MAP_SHARED 0x01
// Non-POSIX, but used in some Linux code, so required for parsing
#define MAP_ANONYMOUS 0x20
#define MAP_ANON MAP_ANONYMOUS
#define MAP_SHARED_VALIDATE 0x03
#define MAP_FAILED ((void*) -1) #define MAP_FAILED ((void*) -1)
#define MS_ASYNC 1 #define MS_ASYNC 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment