提交 c10bc615 编写于 作者: S Szabolcs Nagy 提交者: Rich Felker

powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h

MAP_{NORESERVE,LOCKED} have different values on powerpc than in generic.
上级 da438ee1
#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 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册