fix the types of some integer constant limits in headers
[musl] / arch / i386 / bits / limits.h
1 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
2  || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
3 #define PIPE_BUF 4096
4 #define PAGESIZE 4096
5 #define PAGE_SIZE PAGESIZE
6 #define FILESIZEBITS 64
7 #define NAME_MAX 255
8 #define SYMLINK_MAX 255
9 #define PATH_MAX 4096
10 #define NZERO 20
11 #define NGROUPS_MAX 32
12 #define ARG_MAX 131072
13 #define IOV_MAX 1024
14 #define SYMLOOP_MAX 40
15 #define WORD_BIT 32
16 #define LONG_BIT 32
17 #endif
18
19 #define SHRT_MIN  (-1-0x7fff)
20 #define SHRT_MAX  0x7fff
21 #define USHRT_MAX 0xffff
22
23 #define INT_MIN  (-1-0x7fffffff)
24 #define INT_MAX  0x7fffffff
25 #define UINT_MAX 0xffffffffU
26
27 #define LONG_MIN  (-1-0x7fffffffL)
28 #define LONG_MAX  0x7fffffffL
29 #define ULONG_MAX 0xffffffffUL
30
31 #define LLONG_MIN  (-1-0x7fffffffffffffffLL)
32 #define LLONG_MAX  0x7fffffffffffffffLL
33 #define ULLONG_MAX 0xffffffffffffffffULL