* glimits.h (LONG_MAX): Handle sparc64.
From-SVN: r15702
This commit is contained in:
parent
d98cda2239
commit
6f7423f547
@ -63,11 +63,11 @@
|
|||||||
/* Minimum and maximum values a `signed long int' can hold.
|
/* Minimum and maximum values a `signed long int' can hold.
|
||||||
(Same as `int'). */
|
(Same as `int'). */
|
||||||
#ifndef __LONG_MAX__
|
#ifndef __LONG_MAX__
|
||||||
#ifndef __alpha__
|
#if defined (__alpha__) || (defined (__sparc_v9__) && defined (__arch64__))
|
||||||
#define __LONG_MAX__ 2147483647L
|
|
||||||
#else
|
|
||||||
#define __LONG_MAX__ 9223372036854775807L
|
#define __LONG_MAX__ 9223372036854775807L
|
||||||
# endif /* __alpha__ */
|
#else
|
||||||
|
#define __LONG_MAX__ 2147483647L
|
||||||
|
#endif /* __alpha__ || sparc64 */
|
||||||
#endif
|
#endif
|
||||||
#undef LONG_MIN
|
#undef LONG_MIN
|
||||||
#define LONG_MIN (-LONG_MAX-1)
|
#define LONG_MIN (-LONG_MAX-1)
|
||||||
|
Loading…
Reference in New Issue
Block a user