summaryrefslogtreecommitdiffhomepage
path: root/arch
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-07 10:25:33 -0500
committermidipix <writeonce@midipix.org>2019-01-09 22:43:17 -0500
commit7be6942d602e744ee10d22c04f1c673454ce7c00 (patch)
tree345033f6bc891edf3f85222e95a2d5a8fc881541 /arch
parent894276dc244c7c1af1708a65abb23a19957a2fca (diff)
downloadmmglue-7be6942d602e744ee10d22c04f1c673454ce7c00.tar.bz2
mmglue-7be6942d602e744ee10d22c04f1c673454ce7c00.tar.xz
mmglue: bits/mman.h: adjusted to match recent musl versions.
Diffstat (limited to 'arch')
-rw-r--r--arch/nt32/bits/mman.h4
-rw-r--r--arch/nt64/bits/mman.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/nt32/bits/mman.h b/arch/nt32/bits/mman.h
index 846b7ea..ae855a5 100644
--- a/arch/nt32/bits/mman.h
+++ b/arch/nt32/bits/mman.h
@@ -11,8 +11,8 @@
#define MAP_PRIVATE 0x02
#define MAP_FIXED 0x10
+#define MAP_FILE 0
#define MAP_TYPE 0x0f
-#define MAP_FILE 0x00
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
@@ -30,7 +30,7 @@
#define POSIX_MADV_RANDOM 1
#define POSIX_MADV_SEQUENTIAL 2
#define POSIX_MADV_WILLNEED 3
-#define POSIX_MADV_DONTNEED 0
+#define POSIX_MADV_DONTNEED 4
#define MS_ASYNC 1
#define MS_INVALIDATE 2
diff --git a/arch/nt64/bits/mman.h b/arch/nt64/bits/mman.h
index 846b7ea..ae855a5 100644
--- a/arch/nt64/bits/mman.h
+++ b/arch/nt64/bits/mman.h
@@ -11,8 +11,8 @@
#define MAP_PRIVATE 0x02
#define MAP_FIXED 0x10
+#define MAP_FILE 0
#define MAP_TYPE 0x0f
-#define MAP_FILE 0x00
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
@@ -30,7 +30,7 @@
#define POSIX_MADV_RANDOM 1
#define POSIX_MADV_SEQUENTIAL 2
#define POSIX_MADV_WILLNEED 3
-#define POSIX_MADV_DONTNEED 0
+#define POSIX_MADV_DONTNEED 4
#define MS_ASYNC 1
#define MS_INVALIDATE 2