Hi Ian,

I have investigated a platform dependent issue in function/example2/sdl demo.
I made a patch trying to obey the documentation
http://www.libsdl.org/cgi/docwiki.cgi/FAQ_MacOS_X_SDLMain.m
rather than using SDL_main directly. The issue was simple. idc
compiler generate:
int main(int argc, char *argv[], char **envp)
but SDL expect:
int main(int argc, char *argv[])
so I just wrote a wrapper function _pepsi_SDL_main().
And I modified Makefile a bit to make sure that it works on Mac / Linux / Vista.

Cheers,
- Takashi

Attachment: sdl.patch
Description: Binary data

_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to