[PATCH] malloca v2

Ondřej Bílka neleai@seznam.cz
Tue Jan 15 14:10:00 GMT 2013


On Tue, Jan 15, 2013 at 11:52:04AM +0100, Andreas Schwab wrote:
> Ondřej Bílka <neleai@seznam.cz> writes:
> 
> >   return  __r + _MALLOC_ALIGNMENT;
> 
> If this is mean to be a public header it should not use GCC extensions
> here.
I use here 

#ifndef MALLOC_ALIGNMENT
  #define _MALLOC_ALIGNMENT 16 
#else
  #define _MALLOC_ALIGNMENT MALLOC_ALIGNMENT
#endif

So it should be ok.



More information about the Libc-alpha mailing list