define MAP_ANON for systems with MAP_ANONYMOUS
switch the sense of this check
This commit is contained in:
parent
8d89fb071c
commit
105da446ba
@ -3,9 +3,9 @@
|
||||
#ifndef LIBCRYPTOCOMPAT_MMAN_H
|
||||
#define LIBCRYPTOCOMPAT_MMAN_H
|
||||
|
||||
#ifndef MAP_ANONYMOUS
|
||||
#ifdef MAP_ANON
|
||||
#define MAP_ANONYMOUS MAP_ANON
|
||||
#ifndef MAP_ANON
|
||||
#ifdef MAP_ANONYMOUS
|
||||
#define MAP_ANON MAP_ANONYMOUS
|
||||
#else
|
||||
#error "System does not support mapping anonymous pages?"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user