mirror of
git://git.musl-libc.org/musl
synced 2024-12-28 09:53:24 +00:00
6315004f61
basically, this version of the code was obtained by starting with rdp's work from his ellcc source tree, adapting it to musl's build system and coding style, auditing the bits headers for discrepencies with kernel definitions or glibc/LSB ABI or large file issues, fixing up incompatibility with the old binutils from aboriginal linux, and adding some new special cases to deal with the oddities of sigaction and pipe syscall interfaces on mips. at present, minimal test programs work, but some interfaces are broken or missing. threaded programs probably will not link.
9 lines
253 B
C
9 lines
253 B
C
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|
|
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
#define PAGE_SIZE 4096
|
|
#define LONG_BIT 32
|
|
#endif
|
|
|
|
#define LONG_MAX 0x7fffffffL
|
|
#define LLONG_MAX 0x7fffffffffffffffLL
|