view src/main/linux/SDL_main.c @ 427:027ae30b867f

Date: Mon, 29 Jul 2002 15:07:22 +1000 From: screwtape@froup.com The attached patch lets SDL_Init(SDL_INIT_JOYSTICK) succeed on Mac OS X when there are no joysticks attached, in line with SDL's behaviour on Linux.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 29 Jul 2002 22:26:43 +0000
parents 25dfe480c75e
children
line wrap: on
line source


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

extern int SDL_main(int argc, char *argv[]);

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