Re: [AD] Porting Allegro to Haiku

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2008-08-27, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> 
> It's in include/allegro/platform/alunixac.hin, selected with `configure'
> on traditional Unix.
> 
>     /* Define as the return type of signal handlers (`int' or `void'). */
>     #undef RETSIGTYPE
> 
> But, you probably don't want usigalrm.c anyway.  Instead you should be
> using uthreads.c.  Probably you didn't define HAVE_LIBPTHREAD somewhere.
>

Actually, you might not want that either, as there is a BeOS timer
implementation in btimeapi.cpp.  It should be updated to take into
account actual sleep times, however (see uptimer.c for what I mean).

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/