|
From: | Tony Garnock-Jones |
Subject: | Re: [Chicken-users] SDL_Init on Mac OSX |
Date: | Wed, 29 Dec 2004 12:34:55 +0000 |
User-agent: | Mozilla Thunderbird 0.8 (Macintosh/20040913) |
Joel Reymont wrote:
I don't think this is a Mac OSX problem, really. SDL.h redefines main to SDL_main or something like that and then calls SDL_main after the Quartz initialization code. Main does not get redefined unless you explicitly include SDL.h.
Holy crap! That's revolting!I hadn't looked at that code before. Yes, it certainly makes it clear why there are problems on Mac, and it hints that there'll be problems on Windows too. (Besides all the other problems there will be on Windows, of course.)
Tony
[Prev in Thread] | Current Thread | [Next in Thread] |