Re: [AD] Proposal for new magic main (2) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
[I had answered on 04/12, but I just discovered the message seems to have
been lost...]
> Hmm, I thought USE_CONSOLE was only for Windows. Is USE_CONSOLE for
> Unix something new in 4.1? What does it do? (I suppose I could just
> check ;-)
No, USE_CONSOLE has been there for a long time both for Windows and Unix. It
basically turns off the magic main. Incidentally it ends up defining two
_main symbols on Unix, the first one in the user program and the second one
in liballeg, what Darwin doesn't like at all.
--
Eric Botcazou
ebotcazou@xxxxxxxxxx