mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-09-28 17:39:29 +02:00
MAP_ANONYMOUS
This commit is contained in:
parent
78cb28b4a6
commit
8ccebc9307
1 changed files with 3 additions and 0 deletions
|
@ -208,6 +208,9 @@ do { \
|
|||
|
||||
#define SOS_MEMORY_SIZE 16384 /* see src/mi/mempool.c */
|
||||
|
||||
#ifndef MAP_ANONYMOUS
|
||||
# define MAP_ANONYMOUS MAP_ANON
|
||||
#endif
|
||||
#define GET_MEMORY(mem, size_in_bytes) \
|
||||
do { \
|
||||
/* Hopefully, mmap() goes straight through to a system call stub... */ \
|
||||
|
|
Loading…
Reference in a new issue