Use MAP_CONCEAL on OpenBSD
This commit is contained in:
parent
c322b1a63c
commit
7ec812b83d
@ -35,7 +35,11 @@
|
|||||||
# define MAP_ANON MAP_ANONYMOUS
|
# define MAP_ANON MAP_ANONYMOUS
|
||||||
#endif
|
#endif
|
||||||
#ifndef MAP_NOCORE
|
#ifndef MAP_NOCORE
|
||||||
# define MAP_NOCORE 0
|
# ifdef MAP_CONCEAL
|
||||||
|
# define MAP_NOCORE MAP_CONCEAL
|
||||||
|
# else
|
||||||
|
# define MAP_NOCORE 0
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef MAP_POPULATE
|
#ifndef MAP_POPULATE
|
||||||
# define MAP_POPULATE 0
|
# define MAP_POPULATE 0
|
||||||
|
@ -31,7 +31,11 @@
|
|||||||
# define MAP_ANON MAP_ANONYMOUS
|
# define MAP_ANON MAP_ANONYMOUS
|
||||||
#endif
|
#endif
|
||||||
#ifndef MAP_NOCORE
|
#ifndef MAP_NOCORE
|
||||||
# define MAP_NOCORE 0
|
# ifdef MAP_CONCEAL
|
||||||
|
# define MAP_NOCORE MAP_CONCEAL
|
||||||
|
# else
|
||||||
|
# define MAP_NOCORE 0
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef MAP_POPULATE
|
#ifndef MAP_POPULATE
|
||||||
# define MAP_POPULATE 0
|
# define MAP_POPULATE 0
|
||||||
|
@ -59,7 +59,11 @@ void *alloca (size_t);
|
|||||||
#define GARBAGE_VALUE 0xdb
|
#define GARBAGE_VALUE 0xdb
|
||||||
|
|
||||||
#ifndef MAP_NOCORE
|
#ifndef MAP_NOCORE
|
||||||
# define MAP_NOCORE 0
|
# ifdef MAP_CONCEAL
|
||||||
|
# define MAP_NOCORE MAP_CONCEAL
|
||||||
|
# else
|
||||||
|
# define MAP_NOCORE 0
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS)
|
#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS)
|
||||||
# define MAP_ANON MAP_ANONYMOUS
|
# define MAP_ANON MAP_ANONYMOUS
|
||||||
|
Loading…
Reference in New Issue
Block a user