projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math: sinh.c cleanup similar to the cosh one
[musl]
/
arch
/
i386
/
bits
/
mman.h
diff --git
a/arch/i386/bits/mman.h
b/arch/i386/bits/mman.h
index
302044e
..
4083c19
100644
(file)
--- a/
arch/i386/bits/mman.h
+++ b/
arch/i386/bits/mman.h
@@
-16,6
+16,11
@@
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
+#define MAP_NORESERVE 0x4000
+#define MAP_GROWSDOWN 0x0100
+#define MAP_DENYWRITE 0x0800
+#define MAP_EXECUTABLE 0x1000
+#define MAP_LOCKED 0x2000
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1
@@
-30,7
+35,7
@@
#define MCL_CURRENT 1
#define MCL_FUTURE 2
#define MCL_CURRENT 1
#define MCL_FUTURE 2
-#if
def _GNU_SOURCE
+#if
defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define MADV_NORMAL 0
#define MADV_RANDOM 1
#define MADV_SEQUENTIAL 2
#define MADV_NORMAL 0
#define MADV_RANDOM 1
#define MADV_SEQUENTIAL 2