Mats Erik Andersson <[email protected]> writes:

> torsdag den 16 juni 2011 klockan 13:14 skrev Simon Josefsson detta:
>> Mats Erik Andersson <[email protected]> writes:
>> 
>> >    typedef sig_t;
>> >
>> > This does not apply to OpenSolaris:
>> >
>> >    /* config.h */
>> >
>> >    /* #undef HAVE_SIG_T */
>> 
>> Glibc uses 'sighandler_t' for this, and gnulib should make sure it is
>> available.  I've checked in a fix for this, please test!
>
> This is not enough in OpenSolaris, since there is no type like
> '__sighandler_t' that whould be rewritten using a typedef.

Gnulib's signal.h should take care of that.  Or am I missing something?
The __sighandler_t solution is just what glibc uses.

/Simon

Reply via email to