Re: [AD] Proposal for new magic main

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


> So you'd rather do dirty macro work than to add argc/argv
> to install_allegro, eh ? :)

For 4.1.x, yes, because argc/argv is not portable (you absolutely need a
WinMain() under Windows).

Another solution would be 'int AL_MAIN(int argc, char *argv[])'.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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