musl/arch/powerpc64/bits/mman.h
Szabolcs Nagy c10bc61508 powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h
MAP_{NORESERVE,LOCKED} have different values on powerpc than in generic.
2017-09-11 14:06:27 -04:00

14 lines
271 B
C

#define PROT_SAO 0x10
#undef MAP_NORESERVE
#define MAP_NORESERVE 0x40
#undef MAP_LOCKED
#define MAP_LOCKED 0x80
#undef MCL_CURRENT
#define MCL_CURRENT 0x2000
#undef MCL_FUTURE
#define MCL_FUTURE 0x4000
#undef MCL_ONFAULT
#define MCL_ONFAULT 0x8000