Commit 6f7423f5 by Doug Evans

* glimits.h (LONG_MAX): Handle sparc64.

From-SVN: r15702
parent d98cda22
......@@ -63,11 +63,11 @@
/* Minimum and maximum values a `signed long int' can hold.
(Same as `int'). */
#ifndef __LONG_MAX__
#ifndef __alpha__
#define __LONG_MAX__ 2147483647L
#else
#if defined (__alpha__) || (defined (__sparc_v9__) && defined (__arch64__))
#define __LONG_MAX__ 9223372036854775807L
# endif /* __alpha__ */
#else
#define __LONG_MAX__ 2147483647L
#endif /* __alpha__ || sparc64 */
#endif
#undef LONG_MIN
#define LONG_MIN (-LONG_MAX-1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment