[AD] Compiling allegro-3.9.31 under Unix/X

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


Hi,

   I just downloaded allegro-3.9.31 and tried to compile it on my
Sun Ultra 30 workstation running Solaris 2.5.1.

   I found two problems:

./src/unix/usystem.c
146c146
<       timeout.tv_usec = 1;
---
>       timeout.tc_usec = 1;

./src/math.c
371c371
<    return ftofix(hypot(fixtof(x), fixtof(y)));
---
>    return ftofix(hypot((fixtof(x), fixtof(y))));

After these modifications compilation just went fine.

Regards,

		Laurent



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