mirror of
git://git.musl-libc.org/musl
synced 2025-01-17 20:31:49 +00:00
0a4a16d11c
the ABI for arm was silently changed at some point to allow page sizes other than 4k; traditional binaries built with only 4k-aligned offsets between load segments cannot run on such systems, but newer binutils versions use 64k offset alignment. while larger page size is undesirable for various reasons, users have encountered hardware and/or kernels that lock the page size to a larger value, so follow the new ABI and allow it to vary.
8 lines
230 B
C
8 lines
230 B
C
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|
|
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
#define LONG_BIT 32
|
|
#endif
|
|
|
|
#define LONG_MAX 0x7fffffffL
|
|
#define LLONG_MAX 0x7fffffffffffffffLL
|