From 4ea1753e0a8ba619875276688faca306e570614a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 19 May 2006 13:07:53 +0000 Subject: [PATCH] Since we're now using GCC on PPC as well, there is no reason not to include GCC's header file here. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17513 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/limits.h | 36 +++--------------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/headers/posix/limits.h b/headers/posix/limits.h index 9006dda48b..57b0fd28bb 100644 --- a/headers/posix/limits.h +++ b/headers/posix/limits.h @@ -7,39 +7,9 @@ /* _GCC_LIMITS_H_ is defined by GCC's internal limits.h to avoid * collisions with any defines in this file. */ -#if __INTEL__ -# ifndef _GCC_LIMITS_H_ -# include_next -# endif -#else - -#define CHAR_BIT (8) - -#define SCHAR_MIN (-127-1) -#define SCHAR_MAX (127) - -#define UCHAR_MAX (255U) - -#define CHAR_MIN SCHAR_MIN -#define CHAR_MAX SCHAR_MAX - -#define MB_LEN_MAX (1) - -#define SHRT_MIN (-32767-1) -#define SHRT_MAX (32767) - -#define USHRT_MAX (65535U) - -#define LONG_MIN (-2147483647L-1) -#define LONG_MAX (2147483647L) - -#define ULONG_MAX (4294967295U) - -#define INT_MIN LONG_MIN -#define INT_MAX LONG_MAX -#define UINT_MAX ULONG_MAX - -#endif /* else not INTEL */ +#ifndef _GCC_LIMITS_H_ +# include_next +#endif #define LONGLONG_MIN (-9223372036854775807LL - 1) /* these are Be specific */ #define LONGLONG_MAX (9223372036854775807LL)