view src/main/dummy/SDL_dummy_main.c @ 4359:4b582c04ec1d SDL-1.2

Recoomendation from Lennart Poettering: I guess I don't have to mention that, but ALSA_WaitAudio() is pure evil, and just broken. getpid() returns pids, not tids. You get those via gettid(). But I'd recommend dropping that entirely. It's just broken.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 19 Oct 2009 02:36:02 +0000
parents 5b3bb08e7dd8
children 782fd950bd46 c121d94672cb
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