Subject: Re: SIZE_T_MAX Problem
To: Christos Zoulas <>
From: Christian Limpach <>
List: current-users
Date: 08/16/2003 17:43:58
Quoting Christos Zoulas <>:
> Jason Hecker <> wrote:

> It should be defined in /usr/include/powerpc/limits.h on the ppc case.
> Is that directory/file there?

not on Linux, which is where the original poster wants to  Linux 
has in /usr/include/stdint.h:
/* Limit of `size_t' type.  */
# if __WORDSIZE == 64
#  define SIZE_MAX              (18446744073709551615UL)
# else
#  define SIZE_MAX              (4294967295U)
# endif

I have:
#if !defined(SIZE_T_MAX) && defined(SIZE_MAX)
in my cat.c or compat_defs.h but maybe it should be named SIZE_MAX anyway 
(cf. UINT32_MAX, U?QUAD_MAX, ...)

Christian Limpach <>