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
|
#ifndef LIBCRYPTOCOMPAT_MMAN_H
|
||||||
#define LIBCRYPTOCOMPAT_MMAN_H
|
#define LIBCRYPTOCOMPAT_MMAN_H
|
||||||
|
|
||||||
#ifndef MAP_ANONYMOUS
|
#ifndef MAP_ANON
|
||||||
#ifdef MAP_ANON
|
#ifdef MAP_ANONYMOUS
|
||||||
#define MAP_ANONYMOUS MAP_ANON
|
#define MAP_ANON MAP_ANONYMOUS
|
||||||
#else
|
#else
|
||||||
#error "System does not support mapping anonymous pages?"
|
#error "System does not support mapping anonymous pages?"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user