Re: [AD] No need for END_OF_MAIN (Windows)

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


> This is the approach I use.  Still has the issue of
> variables called main...  What I do is call it MAIN,
> maybe that could be the way?  Or even AL_MAIN.

I'm not sure I follow you. The main function is called `main', in lower
case. There's no way around having to `#define main ...', which is going to
break code the moment you do more than just change the name.

Evert





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