limits.h
#ifndef _LIBC_LIMITS_H_
#define _LIBC_LIMITS_H_ 1
#include
#define MB_LEN_MAX 16
#if !defined __GNUC__ || __GNUC__ < 2
# ifndef _LIMITS_H
# define _LIMITS_H 1
#include
# define CHAR_BIT 8
# define SCHAR_MIN (-128)
# define SCHAR_MAX 127
# define UCHAR_MAX 255
# ifdef __CHAR_UNSIGNED__
# define CHAR_MIN 0
# define CHAR_MAX UCHAR_MAX
# else
# define CHAR_MIN SCHAR_MIN
# define CHAR_MAX SCHAR_MAX
# endif
# define SHRT_MIN (-32768)
# define SHRT_MAX 32767
# define USHRT_MAX 65535
# define INT_MIN (-INT_MAX - 1)
# define INT_MAX 2147483647
# define UINT_MAX 4294967295U
# if __WORDSIZE == 64
# define LONG_MAX 9223372036854775807L
# else
# define LONG_MAX 2147483647L
# endif
# define LONG_MIN (-LONG_MAX - 1L)
# if __WORDSIZE == 64
# define ULONG_MAX 18446744073709551615UL
# else
# define ULONG_MAX 4294967295UL
# endif
# ifdef __USE_ISOC99
# define LLONG_MAX 9223372036854775807LL
# define LLONG_MIN (-LLONG_MAX - 1LL)
# define ULLONG_MAX 18446744073709551615ULL
# endif
# endif
#endif
#endif
#if defined __GNUC__ && !defined _GCC_LIMITS_H_
# include_next
# ifdef __USE_ISOC99
# ifndef LLONG_MIN
# define LLONG_MIN LONG_LONG_MIN
# endif
# ifndef LLONG_MAX
# define LLONG_MAX LONG_LONG_MAX
# endif
# ifndef ULLONG_MAX
# define ULLONG_MAX ULONG_LONG_MAX
# endif
# endif
#endif
#ifdef __USE_POSIX
# include
#endif
#ifdef __USE_POSIX2
# include
#endif
#ifdef __USE_XOPEN
# include
#endif
|
|