mirror of git://git.musl-libc.org/musl
powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h
MAP_{NORESERVE,LOCKED} have different values on powerpc than in generic.
This commit is contained in:
parent
da438ee1fc
commit
c10bc61508
|
@ -1,4 +1,9 @@
|
||||||
#define PROT_SAO 0x10
|
#define PROT_SAO 0x10
|
||||||
|
|
||||||
|
#undef MAP_NORESERVE
|
||||||
|
#define MAP_NORESERVE 0x40
|
||||||
|
#undef MAP_LOCKED
|
||||||
|
#define MAP_LOCKED 0x80
|
||||||
|
|
||||||
#undef MCL_CURRENT
|
#undef MCL_CURRENT
|
||||||
#define MCL_CURRENT 0x2000
|
#define MCL_CURRENT 0x2000
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
#define PROT_SAO 0x10
|
#define PROT_SAO 0x10
|
||||||
|
|
||||||
|
#undef MAP_NORESERVE
|
||||||
|
#define MAP_NORESERVE 0x40
|
||||||
|
#undef MAP_LOCKED
|
||||||
|
#define MAP_LOCKED 0x80
|
||||||
|
|
||||||
#undef MCL_CURRENT
|
#undef MCL_CURRENT
|
||||||
#define MCL_CURRENT 0x2000
|
#define MCL_CURRENT 0x2000
|
||||||
#undef MCL_FUTURE
|
#undef MCL_FUTURE
|
||||||
|
|
Loading…
Reference in New Issue