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 1/2] Define PTR_MANGLE and PTR_DEMANGLE unconditionally.


On Thu, Oct 31, 2013 at 03:43:22PM -0400, Carlos O'Donell wrote:
> On 10/31/2013 03:41 PM, OndÅej BÃlka wrote:
> > +#ifndef PTR_MANGLE
> > +# define PTR_MANGLE(x)
> > +#endif
> > +
> > +#ifndef PTR_DEMANGLE
> > +# define PTR_DEMANGLE(x)
> > +#endif
> 
> This should happen once and then get used everywhere else.
> 
Definitions of PTR_DEMANGLE are scattered in various sysdep.h files.

Moving these would involve creating a new header. A posibility would be
a defaults header where we would move various compatibility definitions.

Comments?


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