mirror of
git://git.musl-libc.org/musl
synced 2025-01-11 17:19:29 +00:00
e9f1c7981a
currently five targets use the same mman.h constants and the rest share most constants too, so move them to sys/mman.h before the bits/mman.h include where the differences can be corrected by redefinition of the macros. this fixes two minor bugs: POSIX_MADV_DONTNEED was wrong on most targets (it should be the same as MADV_DONTNEED), and sh defined the x86-only MAP_32BIT mmap flag.
9 lines
178 B
C
9 lines
178 B
C
#define PROT_SAO 0x10
|
|
|
|
#undef MCL_CURRENT
|
|
#define MCL_CURRENT 0x2000
|
|
#undef MCL_FUTURE
|
|
#define MCL_FUTURE 0x4000
|
|
#undef MCL_ONFAULT
|
|
#define MCL_ONFAULT 0x8000
|