LibC: Add MAP_ANON as synonym for MAP_ANONYMOUS

This is part of POSIX issue 8 and some things only check MAP_ANON
This commit is contained in:
Bananymous 2025-08-04 02:54:57 +03:00
parent 0e0f5295cf
commit fa7b58057c
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ __BEGIN_DECLS
#define MAP_PRIVATE 0x02 #define MAP_PRIVATE 0x02
#define MAP_SHARED 0x04 #define MAP_SHARED 0x04
#define MAP_ANONYMOUS 0x08 #define MAP_ANONYMOUS 0x08
#define MAP_ANON MAP_ANONYMOUS
#define MS_ASYNC 0x01 #define MS_ASYNC 0x01
#define MS_INVALIDATE 0x02 #define MS_INVALIDATE 0x02