[AD] Re: linux compile fix

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


On 23/03/06, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:
> Allegro 4.2 SVN fails to compile on linux. It complains about PAGE_SIZE,
> perror and mprotect in src/i386/icsprite.c. Patch attached.

Actually, the real problem is in src/i386/opcodes.h, line 27. There is
no guarantee ALLEGRO_LINUX will be defined if making a linux build.
ALLEGRO_LINUX refers to linux console drivers. The user could build a
X-only version and ALLEGRO_LINUX won't be defined.


--
Milan Mimica
http://saprklet.sf.net




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