Re: [AD] No need for END_OF_MAIN (Windows) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Saturday 14 May 2005 23:43, spoofer255@xxxxxxxxxx wrote:
> I say we remove ALLEGRO_NO_MAGIC_MAIN and add this to winalleg.h
>
> #define WinMain _mangled_main
>
> This way if user use normal main() everything works as before and is
> he use WinMain it would be called trought allegro's WinMain which
> should work as it was called directly.
Er... how would that work?
WinMain and main have different prototypes.
Evert