This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] malloca v2


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.


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