David Chisnall <[email protected]> writes:

> On 19 May 2009, at 21:22, Andrew Price wrote:
>
>> On 16/05/09 17:12, David Chisnall wrote:
>>> This is currently broken on GNU platforms.  If you can figure out the
>>> combination of feature macros that's needed to let the code compile,
>>> let me know,
>>
>> The most succinct fix I could find was:
>>
>> -${FRAMEWORK_NAME}_CPPFLAGS += -D_POSIX_C_SOURCE=2
>> +${FRAMEWORK_NAME}_CPPFLAGS += -D_POSIX_C_SOURCE=199309 -D_BSD_SOURCE
>>
>> plus this tweak in BlockClosure+debug.m:
>>
>> -static void segv(int sig, struct __siginfo *info, void *addr)
>> +static void segv(int sig, siginfo_t *info, void *addr)
>>
>> Is that sane?
>
> Looks sensible.  Send me the diff and I'll apply it.
Just to let you know I added something similiar to my code base....

Regards
Friedrich

-- 
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim 
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à