mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-08 03:02:40 +02:00
Bash-4.2 distribution sources and documentation
This commit is contained in:
@@ -77,6 +77,21 @@ static const unsigned long long int maxquad = ULLONG_MAX;
|
||||
# define ULLONG_MAX maxquad
|
||||
#endif
|
||||
|
||||
#if !defined (INTMAX_MAX) || !defined (INTMAX_MIN)
|
||||
|
||||
#if SIZEOF_INTMAX_T == SIZEOF_LONG_LONG
|
||||
# define INTMAX_MAX LLONG_MAX
|
||||
# define INTMAX_MIN LLONG_MIN
|
||||
#elif SIZEOF_INTMAX_T == SIZEOF_LONG
|
||||
# define INTMAX_MAX LONG_MAX
|
||||
# define INTMAX_MIN LONG_MIN
|
||||
#else
|
||||
# define INTMAX_MAX INT_MAX
|
||||
# define INTMAX_MIN INT_MIN
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef SSIZE_MAX
|
||||
# define SSIZE_MAX 32767 /* POSIX minimum max */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user