mirror of
git://git.musl-libc.org/musl
synced 2024-12-22 06:40:57 +00:00
c9c2cd3e69
PAGESIZE is actually the version defined in POSIX base, with PAGE_SIZE being in the XSI option. use PAGESIZE as the underlying definition to facilitate making exposure of PAGE_SIZE conditional.
9 lines
252 B
C
9 lines
252 B
C
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|
|
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
#define PAGESIZE 4096
|
|
#define LONG_BIT 32
|
|
#endif
|
|
|
|
#define LONG_MAX 0x7fffffffL
|
|
#define LLONG_MAX 0x7fffffffffffffffLL
|