[PATCH 1/2] Define PTR_MANGLE and PTR_DEMANGLE unconditionally.
Carlos O'Donell
carlos@redhat.com
Tue Nov 5 17:31:00 GMT 2013
On 11/05/2013 04:38 AM, OndÅej BÃlka wrote:
> 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?
>
That sounds good to me. Feel free to create such a header first, and then
move only PTR_* into it, and then we can follow up other patches as we
touch things to move them there?
Cheers,
Carlos.
More information about the Libc-alpha
mailing list