MAP_ANONYMOUS might be defined instead of MAP_ANON
This commit is contained in:
parent
33a699cc0c
commit
6ea70839df
@ -27,6 +27,10 @@
|
||||
#include "crypto_scrypt.h"
|
||||
#include "runtime.h"
|
||||
|
||||
#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS)
|
||||
# define MAP_ANON MAP_ANONYMOUS
|
||||
#endif
|
||||
|
||||
void *
|
||||
alloc_region(escrypt_region_t * region, size_t size)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user