summaryrefslogtreecommitdiff
path: root/arch/riscv64/bits/limits.h
blob: 0226588c3df9730c5eebcf6dad106f6202237978 (plain) (blame)
1
2
3
4
5
6
7
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define LONG_BIT 64
#endif

#define LONG_MAX  0x7fffffffffffffffL
#define LLONG_MAX  0x7fffffffffffffffLL