view src/main/linux/SDL_main.c @ 26:c447d5b9275d

Date: Wed, 9 May 2001 18:03:20 -0600 From: Peter Valchev <pvalchev@openbsd.org> Subject: openbsd patches - The dlsym() one is supposed to fix dynamic loading on our a.out architectures, where prefixing of an underscore symbol is required. Actually I don't know what kind of dynamic loading does SDL deal with, but anyway. You may want to make that change global, but only gcc's preprocessor passes __ELF__, I think, so you can just add Linux or something if you decide so.
author Sam Lantinga <slouken@lokigames.com>
date Thu, 10 May 2001 20:31:51 +0000
parents 74212992fb08
children 25dfe480c75e
line wrap: on
line source


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

extern int SDL_run(int argc, char **argv);

int main(int argc, char *argv[])
{
	return(SDL_run(argc, argv));
}