mirror of
git://git.musl-libc.org/musl
synced 2024-12-15 11:15:07 +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
260 B
C
9 lines
260 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 64
|
|
#endif
|
|
|
|
#define LONG_MAX 0x7fffffffffffffffL
|
|
#define LLONG_MAX 0x7fffffffffffffffLL
|