diff options
author | midipix <writeonce@midipix.org> | 2019-01-07 10:25:33 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-01-09 22:43:17 -0500 |
commit | 7be6942d602e744ee10d22c04f1c673454ce7c00 (patch) | |
tree | 345033f6bc891edf3f85222e95a2d5a8fc881541 /arch/nt32 | |
parent | 894276dc244c7c1af1708a65abb23a19957a2fca (diff) | |
download | mmglue-7be6942d602e744ee10d22c04f1c673454ce7c00.tar.bz2 mmglue-7be6942d602e744ee10d22c04f1c673454ce7c00.tar.xz |
mmglue: bits/mman.h: adjusted to match recent musl versions.
Diffstat (limited to 'arch/nt32')
-rw-r--r-- | arch/nt32/bits/mman.h | 4 |
1 files changed, 2 insertions, 2 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 |