mirror of
https://github.com/Harshit-Dhanwalkar/AsciiCam.git
synced 2026-06-27 11:09:38 +02:00
Fix undeclared MAP_PRIVATE
This commit is contained in:
parent
32f4d78e08
commit
51074799d5
1 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,9 @@
|
|||
#define HDR_MAGIC 0xDEAD
|
||||
#define MMAP_THRESHOLD (ARENA_SIZE / 2) // 1 MB
|
||||
|
||||
#ifndef MAP_PRIVATE
|
||||
#define MAP_PRIVATE 0x02
|
||||
#endif
|
||||
#ifndef MAP_ANONYMOUS
|
||||
#define MAP_ANONYMOUS 0x20
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue