X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=arch%2Fi386%2Fbits%2Flimits.h;h=65a3dd6477bce24af82e092e9172fbcf18829e46;hp=4e992453740f9f034cebce524dc6591f060043be;hb=73bb048951cc7e6ccd493702834d5c59b219e9be;hpb=f451462098deada2fc30831a28719456e7d474a7 diff --git a/arch/i386/bits/limits.h b/arch/i386/bits/limits.h index 4e992453..65a3dd64 100644 --- a/arch/i386/bits/limits.h +++ b/arch/i386/bits/limits.h @@ -1,33 +1,8 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ - || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) -#define PIPE_BUF 4096 -#define PAGESIZE 4096 -#define PAGE_SIZE PAGESIZE -#define FILESIZEBITS 64 -#define NAME_MAX 255 -#define SYMLINK_MAX 255 -#define PATH_MAX 4096 -#define NZERO 20 -#define NGROUPS_MAX 32 -#define ARG_MAX 131072 -#define IOV_MAX 1024 -#define SYMLOOP_MAX 40 -#define WORD_BIT 32 + || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define PAGE_SIZE 4096 #define LONG_BIT 32 #endif -#define SHRT_MIN (-1-0x7fff) -#define SHRT_MAX 0x7fff -#define USHRT_MAX 0xffff - -#define INT_MIN (-1-0x7fffffff) -#define INT_MAX 0x7fffffff -#define UINT_MAX 0xffffffffU - -#define LONG_MIN (-1-0x7fffffffL) #define LONG_MAX 0x7fffffffL -#define ULONG_MAX 0xffffffffUL - -#define LLONG_MIN (-1-0x7fffffffffffffffLL) #define LLONG_MAX 0x7fffffffffffffffLL -#define ULLONG_MAX 0xffffffffffffffffULL