view src/main/dummy/SDL_dummy_main.c @ 1413:40edc79b0926

FIXME: This code needs to be rewritten to reference the static data using relocatable addresses (e.g. http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml or http://nasm.sourceforge.net/doc/html/nasmdoc8.html#section-8.2) This code currently breaks on systems with readonly text segments (hardened Linux / Intel Mac)
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 22:12:55 +0000
parents 96ba4eab74fb
children 14717b52abc0
line wrap: on
line source


/* Include the SDL main definition header */
#include "SDL_main.h"

#ifdef main
#undef main
int main(int argc, char *argv[])
{
	return(SDL_main(argc, argv));
}
#else
/* Nothing to do on this platform */;
#endif