mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-08-18 05:10:47 +00:00

See the WHATSNEW file for details. WASI libc currently uses a separate malloc, so the new mallocng is not currently used. This includes a few new custom changes to disable code for handling directed rounding modes. Wasm doesn't have directed rounding modes, so disabling this code size saves code size, something the WASI libc project cares about!
14 lines
271 B
C
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
|