mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 19:43:32 +00:00
23e235b7a5
This change integrates e58abc1110b335a3341e8ad5821ad8e3880d9bb2 from https://github.com/ahgamut/musl-cross-make/ which fixes the issues we were having with our C language extension for symbolic constants. This change also performs some code cleanup and bug fixes to getaddrinfo(). It's now possible to compile projects like ncurses, readline and python without needing to patch anything upstream, except maybe a line or two. Pretty soon it should be possible to build a Linux distro on Cosmo.
16 lines
573 B
C
16 lines
573 B
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_PERSONALITY_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_PERSONALITY_H_
|
|
|
|
#define ADDR_COMPAT_LAYOUT 0x0200000
|
|
#define READ_IMPLIES_EXEC 0x0400000
|
|
#define ADDR_LIMIT_3GB 0x8000000
|
|
#define FDPIC_FUNCPTRS 0x0080000
|
|
#define STICKY_TIMEOUTS 0x4000000
|
|
#define MMAP_PAGE_ZERO 0x0100000
|
|
#define ADDR_LIMIT_32BIT 0x0800000
|
|
#define WHOLE_SECONDS 0x2000000
|
|
#define ADDR_NO_RANDOMIZE 0x0040000
|
|
#define SHORT_INODE 0x1000000
|
|
#define UNAME26 0x0020000
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_PERSONALITY_H_ */
|