projects
/
debian
/
tar
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.24
[debian/tar]
/
gnu
/
strtol.c
diff --git
a/gnu/strtol.c
b/gnu/strtol.c
index 7e3519d605c90e83a35bcc8bdf951b6fb7836cac..aee2ece31ccf85bdc1199de8be3f843f42144f4d 100644
(file)
--- a/
gnu/strtol.c
+++ b/
gnu/strtol.c
@@
-116,9
+116,9
@@
operating on `long long int's. */
#ifdef QUAD
# define LONG long long
operating on `long long int's. */
#ifdef QUAD
# define LONG long long
-# define STRTOL_LONG_MIN L
ONG_
LONG_MIN
-# define STRTOL_LONG_MAX L
ONG_
LONG_MAX
-# define STRTOL_ULONG_MAX UL
ONG_
LONG_MAX
+# define STRTOL_LONG_MIN LLONG_MIN
+# define STRTOL_LONG_MAX LLONG_MAX
+# define STRTOL_ULONG_MAX ULLONG_MAX
/* The extra casts in the following macros work around compiler bugs,
e.g., in Cray C 5.0.3.0. */
/* The extra casts in the following macros work around compiler bugs,
e.g., in Cray C 5.0.3.0. */
@@
-149,19
+149,19
@@
? (t) -1 \
: ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
? (t) -1 \
: ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
-# ifndef UL
ONG_
LONG_MAX
-# define UL
ONG_
LONG_MAX TYPE_MAXIMUM (unsigned long long)
+# ifndef ULLONG_MAX
+# define ULLONG_MAX TYPE_MAXIMUM (unsigned long long)
# endif
# endif
-# ifndef L
ONG_
LONG_MAX
-# define L
ONG_
LONG_MAX TYPE_MAXIMUM (long long int)
+# ifndef LLONG_MAX
+# define LLONG_MAX TYPE_MAXIMUM (long long int)
# endif
# endif
-# ifndef L
ONG_
LONG_MIN
-# define L
ONG_
LONG_MIN TYPE_MINIMUM (long long int)
+# ifndef LLONG_MIN
+# define LLONG_MIN TYPE_MINIMUM (long long int)
# endif
# if __GNUC__ == 2 && __GNUC_MINOR__ < 7
/* Work around gcc bug with using this constant. */
# endif
# if __GNUC__ == 2 && __GNUC_MINOR__ < 7
/* Work around gcc bug with using this constant. */
- static const unsigned long long int maxquad = UL
ONG_
LONG_MAX;
+ static const unsigned long long int maxquad = ULLONG_MAX;
# undef STRTOL_ULONG_MAX
# define STRTOL_ULONG_MAX maxquad
# endif
# undef STRTOL_ULONG_MAX
# define STRTOL_ULONG_MAX maxquad
# endif