Re: [AD] fix aliases under IRIX

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


On 2002-01-18, Stepan Roh <stepan@xxxxxxxxxx> wrote:
[snip: fix aliases under Irix]

> User programs will compile as long as they don't include math.h. Library
> must be built with ALLEGRO_NO_FIX_ALIASES because there are few files
> using math.h and same applies to examples (e.g. exshade.c), tests (e.g.
> test.c) and tools (pat2dat.c). Library and shipped tools should not use
> any features from alcompat.h, so it is safe to disable it, but user
> programs should be allowed to use those features as long as they are not
> using old-style f*() functions. Maybe small note should go to FAQ or to
> unix.txt:

I put one in unix.txt.

> I don't think that #defining ALLEGRO_NO_FIX_ALIASES automagically in
> allegro.h or some unix-specific include file if Irix is detected is
> necessary. System-specific defines are bad :-)

Ok, I've committed your patch.

[AD]  The patch defines ALLEGRO_LIB_BUILD preprocessor symbol when
compiling Allegro, under Unices.  For consistency we could define it
on other platforms, but it's not strictly necessary to do so.



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