diff options
author | Mystery Man <unknown@mandriva.org> | 2003-05-19 14:55:45 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2003-05-19 14:55:45 +0000 |
commit | 7994644e1353db36673c5125ca86b3a6683110f5 (patch) | |
tree | eb390d9388c306c4a05d2d62b9715aca30563628 /mdk-stage1/dietlibc/include/limits.h | |
parent | bfb5c11017c5a7a76c860d3e01c70ce562231b3f (diff) | |
download | drakx-7994644e1353db36673c5125ca86b3a6683110f5.tar drakx-7994644e1353db36673c5125ca86b3a6683110f5.tar.gz drakx-7994644e1353db36673c5125ca86b3a6683110f5.tar.bz2 drakx-7994644e1353db36673c5125ca86b3a6683110f5.tar.xz drakx-7994644e1353db36673c5125ca86b3a6683110f5.zip |
This commit was manufactured by cvs2svn to create tag 'V9_1_38mdk'.V9_1_38mdk
Diffstat (limited to 'mdk-stage1/dietlibc/include/limits.h')
-rw-r--r-- | mdk-stage1/dietlibc/include/limits.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/mdk-stage1/dietlibc/include/limits.h b/mdk-stage1/dietlibc/include/limits.h deleted file mode 100644 index a333debfd..000000000 --- a/mdk-stage1/dietlibc/include/limits.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef _LIMITS_H -#define _LIMITS_H - -#include <linux/limits.h> - -#define __WORDSIZE 32 - -#ifdef __alpha__ -#undef __WORDSIZE -#define __WORDSIZE 64 -#endif - -#ifndef PATH_MAX -#define PATH_MAX 4096 -#endif - -#define CHAR_BIT 8 - -#define SCHAR_MIN (-128) -#define SCHAR_MAX 0x7f -#define UCHAR_MAX 0xff - -#define SHRT_MIN (-SHRT_MAX-1) -#define SHRT_MAX 0x7fff -#define USHRT_MAX 0xffff - -#define INT_MIN (-INT_MAX-1) -#define INT_MAX 0x7fffffff -#define UINT_MAX 0xffffffff - -#if __WORDSIZE == 64 -#define LONG_MAX 9223372036854775807L -#define ULONG_MAX 18446744073709551615UL -#else -#define LONG_MAX 2147483647L -#define ULONG_MAX 4294967295UL -#endif -#define LONG_MIN (-LONG_MAX - 1L) - -#define LLONG_MAX 9223372036854775807LL -#define LLONG_MIN (-LLONG_MAX - 1LL) - -/* Maximum value an `unsigned long long int' can hold. (Minimum is 0.) */ -#define ULLONG_MAX 18446744073709551615ULL - -#define PASS_MAX 256 - -#endif |