view src/main/linux/SDL_main.c @ 721:ab0656314eef

Date: Thu, 18 Sep 2003 14:24:35 -0400 From: Scott Watson Subject: [SDL] Improper Windows message routine calling If this hasn't been caught yet, there's an improper method of calling a user's window message routine in the various SDL_xxevents.c files. Calling it improperly can cause a crash under at least XP.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 21 Sep 2003 18:40:51 +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));
}