From 952c5c128f9efaea89d41d882c4ea3ade7df4591 Mon Sep 17 00:00:00 2001 From: zakk Date: Fri, 26 Aug 2005 04:48:05 +0000 Subject: Itsa me, quake3io! git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea --- lcc/include/sparc/solaris/limits.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 lcc/include/sparc/solaris/limits.h (limited to 'lcc/include/sparc/solaris/limits.h') diff --git a/lcc/include/sparc/solaris/limits.h b/lcc/include/sparc/solaris/limits.h new file mode 100755 index 0000000..98251f8 --- /dev/null +++ b/lcc/include/sparc/solaris/limits.h @@ -0,0 +1,24 @@ +#ifndef __LIMITS +#define __LIMITS + +#define CHAR_BIT 8 +#define MB_LEN_MAX 1 + +#define UCHAR_MAX 0xff +#define USHRT_MAX 0xffff +#define UINT_MAX (~0U) +#define ULONG_MAX (~0UL) + +#define CHAR_MAX SCHAR_MAX +#define SCHAR_MAX 0x7f +#define SHRT_MAX 0x7fff +#define INT_MAX 0x7fffffff +#define LONG_MAX 0x7fffffffL + +#define CHAR_MIN SCHAR_MIN +#define SCHAR_MIN (-SCHAR_MAX-1) +#define SHRT_MIN (-SHRT_MAX-1) +#define INT_MIN (-INT_MAX-1) +#define LONG_MIN (-LONG_MAX-1) + +#endif /* __LIMITS */ -- cgit v1.2.3