view src/main/dummy/SDL_dummy_main.c @ 4342:f2800721813d SDL-1.2

patch-ab (from reinoud@NetBSD.org): Apply patch to first unlock the CD before trying to eject it. Since SDL doesn't seem to have lock/unlock primitives, this looks like the right thing to do. Fixes audio/tcd's eject function too.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 16 Oct 2009 05:05:21 +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