This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ERROR in libc/stdlib/mallocr.c???


On Thu, Aug 16, 2001 at 07:43:36PM -0400, J. Johnston wrote:
> Option 3 is reasonable but should be modified to not affect platforms that have
> size_t > 4.
> 
>      #define SIZE_SZ                (sizeof(INTERNAL_SIZE_T))
>      #ifndef MALLOC_ALIGNMENT
>      #define MALLOC_ALIGNMENT       (SIZE_SZ < 4 ? 8 : (SIZE_SZ + SIZE_SZ))
>      #endif
>      #define MALLOC_ALIGN           MALLOC_ALIGNMENT

Do you check that in?

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]