mirror of
git://git.musl-libc.org/musl
synced 2025-02-16 02:46:53 +00:00
based on initial work by rdp, with heavy modifications. some features including threads are untested because qemu app-level emulation seems to be broken and I do not have a proper system image for testing.
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
|