Re: [AD] Proposal for new magic main (2) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2002-04-23, Eric Botcazou <ebotcazou@xxxxxxxxxx> wrote:
> 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.
Oh, I see. Then I agree with your choice (only disable USE_CONSOLE
for the Darwin port, and hope the Apple implements weak symbols in the
future).
PS. USE_CONSOLE is bad naming, IMO. Now we have Windows-isms too :-)